note 28262 added to function.return
| From: | jl85 at yahoo dot com | Date: | Tue, 07 Jan 2003 17:53:44 +0000 |
| Subject: | note 28262 added to function.return | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41796@lists.php.net to get a copy of this message | ||
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.
--
http://www.php.net/manual/en/function.return.php
http://master.php.net/manage/user-notes.php?action=edit+28262
http://master.php.net/manage/user-notes.php?action=delete+28262
http://master.php.net/manage/user-notes.php?action=reject+28262