note 28262 deleted from function.return by didou
| From: | didou@php.net | Date: | Mon, 18 Aug 2003 13:26:14 +0000 |
| Subject: | note 28262 deleted from function.return by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54582@lists.php.net to get a copy of this message | ||
Note Submitter: jl85@yahoo.com
----
[Editor's note: The contributor make the incorrect assumption that the string "FALSE"
was the same as the boolean FALSE. This should've been clear from the discussion on boolean
variables in the manual.]
return "FALSE"; is evaluated by if (somefunction() == TRUE) as true, so if your making a
function that returns true or false, remember not to put "" around your return text.