note 21860 deleted from function.empty by victor
| From: | victor@php.net | Date: | Sat, 24 Aug 2002 07:57:25 +0000 |
| Subject: | note 21860 deleted from function.empty by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35441@lists.php.net to get a copy of this message | ||
It seems that empty() does not allow checking against methods like:
if (!empty($user->getNickname()))
I think it would be useful to check against the returning value of a method.