您好,欢迎访问一九零五行业门户网

PHP报错:Strict Standards: Only variables should be passed by reference in .

php报错:strict standards: only variables should be passed by reference in ...
? 在测试中,遇到php日志中报类似下面的错误信息:
? strict standards: only variables should be passed by reference in ...
? 在google上找到下面的web:
? “strict standards: only variables should be passed by reference” error
? 其中,回答者shiplu.mokadd.im对解决方式给出了简洁的解释,其中提到:
the following things can be passed by reference:
- variables, i.e. foo($a)
- new statements, i.e. foo(new foobar())
- [references returned from functions][2]
? 更多的内容,参考http://www.php.net/manual/en/language.references.pass.php
其它类似信息

推荐信息