自升级到PHP 5.4以来严格的标准错误

时间:2014-03-28 14:36:08

标签: php

我的主机强迫我从PHP 5.3升级到5.4,现在我收到了这些错误:

PHP Strict Standards:  Only variables should be assigned by reference in /public_html/modules/mod_yj_newsflash5/yjme/headfiles.php on line 13 

PHP Strict Standards:  Non-static method YJmeHelp::YJmeItems() should not be called statically in /public_html/modules/mod_yj_newsflash5/mod_yj_newsflash5.php on line 34 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 22 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 23 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 27 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 30 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/yjme/headfiles.php on line 13 

PHP Strict Standards:  Non-static method YJmeHelp::YJmeItems() should not be called statically in public_html/modules/mod_yj_newsflash5/mod_yj_newsflash5.php on line 34 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 22 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 23 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 27 

PHP Strict Standards:  Only variables should be assigned by reference in public_html/modules/mod_yj_newsflash5/helper.php on line 30

这一切意味着什么?

1 个答案:

答案 0 :(得分:1)

如果您正在使用& (&符号)符号你应该删除符号