note for functions that return false and ""
| From: | jim winstead | Date: | Sat, 10 Nov 2001 23:43:43 +0000 |
| Subject: | note for functions that return false and "" | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969338647@lists.php.net to get a copy of this message | ||
it would be nice if we had a note we could drop into functions that
return false in failure conditions, but can also return non-failure
values that evaluate to false. perhaps something that included a
reference to a section explaining the situation and how to use the ===
operator to handle it.
jim