note 72833 deleted from function.empty by didou
| From: | didou@php.net | Date: | Sun, 18 May 2008 00:55:42 +0000 |
| Subject: | note 72833 deleted from function.empty by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139475@lists.php.net to get a copy of this message | ||
Note Submitter: Arian
----
Read the above note carefully: "Note: empty() only checks variables as anything else will
result in a parse error."
Took me forever to google around and figure out this error was related to above lines:
[02-Feb-2007 09:38:09] PHP Fatal error:
Can't use function return value in write context in blah.php on line ##
So hopefully someone else googling the error text itself, will track back to this page.
It would be nice though if empty() can 'correctly' parse and return a value for a function
call within itself like other funcs.