PHP版本:
PHP 5.4.4-12 (cli) (built: Feb 1 2013 08:58:27)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
在多串口用Select读取时,PHP出现:
PHP Strict standards: Only variables should be passed by reference in /root/dev_Codes_All/phpComSelect/fopenSelectWithRaspberry.php on line 49
PHP Stack trace:
PHP 1. {main}() /root/dev_Codes_All/phpComSelect/fopenSelectWithRaspberry.php:0
实践下面Ok,能去掉提示:
PHP Strict Standards: Non-static method错误的解决方法
在程序添加了error_reporting(E_ERROR | E_WARNING | E_PARSE)后解决问题!
来源:http://www.glblog.net/?post=178
PHP 5.4.4-12 (cli) (built: Feb 1 2013 08:58:27)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans
在多串口用Select读取时,PHP出现:
PHP Strict standards: Only variables should be passed by reference in /root/dev_Codes_All/phpComSelect/fopenSelectWithRaspberry.php on line 49
PHP Stack trace:
PHP 1. {main}() /root/dev_Codes_All/phpComSelect/fopenSelectWithRaspberry.php:0
实践下面Ok,能去掉提示:
PHP Strict Standards: Non-static method错误的解决方法
在程序添加了error_reporting(E_ERROR | E_WARNING | E_PARSE)后解决问题!
来源:http://www.glblog.net/?post=178
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/6053/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2013-2-23 21:17
评论列表