PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
這是因為在PHP之後不允許使用class與function使用一樣的名字,一律統一使用建構子
__construct,將class內的function修正後即可繼續正常執行
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
沒有留言:
張貼留言