PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON has a deprecated constructor
原创
52cxy
11-27 16:37
回复数:0
这个是什么问题呢?
PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON has a deprecated constructor
class DataUtil { function DataUtil($use = 0) { $this->use = $use; }
改成
class DataUtil { function __construct($use = 0) { $this->use = $use; }
共0条回答
最近更新
- General error: 1366 Incorrect string value: '
- cURL and libcurl 有何区别与联系
- PHP_XLSXWriter 使用教程
- postgres installation the database cluster in
- error TS2583: Cannot find name 'Map'. Do you
- Failed to mount component: template or render
- Error: libzip5-tools conflicts with libzip-0.
- Got error 'PHP message: PHP Fatal error: Unc
- mysql中使用select into from报错
- General error: 1390 Prepared statement contai