-3
我得到这个诊断信息从PHP有关代码如下:PHP代码生成PHP通知
PHP Notice: Use of undefined constant default_output - assumed 'default_output'
protected static $instance = NULL;
public static function instance() {
NULL === self::$instance and self::$instance = new self;
return self::$instance;
}
这是什么消息的意思,我如何rejigger代码杀消息?
你的代码片段没有'default_output'集合。因此,请在代码中查找更深入的内容,或者查看文件和连接到'PHP的行号注意:使用未定义的常量default_output - 假定为'default_output'。 – JakeGould
搜索'default_output'的代码。 (还有更多的代码,对不对?) – Pietu1998
傻了。谢谢。 –