note 15373 added to language.operators.comparison
| From: | edirol at eudoramail dot com | Date: | Fri, 07 Sep 2001 05:52:55 +0000 |
| Subject: | note 15373 added to language.operators.comparison | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17754@lists.php.net to get a copy of this message | ||
I had a function that returned an integer (range from 0-5) or false.
To differentiate between 0 and false, I check the returned value with is_bool($result)
http://www.php.net/manual/en/language.operators.comparison.php