Deprecated:Methods with the same name as their class will not be constructors in a future version of PHP
看到这个报错之后,只要把和类名相同的函数改成__construct就可以了.
php7之后构造函数只能是__construct
Deprecated:Methods with the same name as their class will not be constructors in a future version of PHP
看到这个报错之后,只要把和类名相同的函数改成__construct就可以了.
php7之后构造函数只能是__construct