今天在利用empty()函数判断一个变量是否为null是发现提示Note: empty() only checks variables as anything else will result in a parse error. In other words,the following will not work:empty(trim($name)).错误了,后整一半天找到问题所在了.
首页 >
variables
今天在利用empty()函数判断一个变量是否为null是发现提示Note: empty() only checks variables as anything else will result in a parse error. In other words,the following will not work:empty(trim($name)).错误了,后整一半天找到问题所在了.