php function error:Can't use function return value in write context
This question already has an answer here:
From the php manual for empty():
Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). Instead use trim($name) == false.
链接地址: http://www.djcxy.com/p/58438.html上一篇: 在写入上下文中不能使用函数返回值