note 74173 deleted from function.system by cmb
| From: | cmb@php.net | Date: | Sun, 28 Jul 2019 08:22:22 +0000 |
| Subject: | note 74173 deleted from function.system by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211746@lists.php.net to get a copy of this message | ||
Note Submitter: peter at randomnity dot com
----
Just a note to dan at thecsl dot org
0 and FALSE are _NOT_ the same.
You can check for false like so:
<?php
if($return_val === FALSE) {
// ....
} else if ($return_val == 0) {
// ...
}
// Continue...
?>