大佬,Win10 64位创建后提示如下信息,如何处理?Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; char has a deprecated constructor in D:\phpstudy_pro\WWW\class\class.char.php on line 5

Warning: Use of undefined constant atk - assumed 'atk' (this will throw an Error in a future version of PHP) in D:\phpstudy_pro\WWW\class\class.char.php on line 962
Warning: Use of undefined constant atk - assumed 'atk' (this will throw an Error in a future version of PHP) in D:\phpstudy_pro\WWW\class\class.char.php on line 963
Warning: Use of undefined constant def - assumed 'def' (this will throw an Error in a future version of PHP) in D:\phpstudy_pro\WWW\class\class.char.php on line 964
Warning: Use of undefined constant def - assumed 'def' (this will throw an Error in a future version of PHP) in D:\phpstudy_pro\WWW\class\class.char.php on line 965