note 9999 deleted from language.functions by felipe

From: Date: Tue, 22 Jul 2008 02:58:31 +0000
Subject: note 9999 deleted from language.functions by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142472@lists.php.net to get a copy of this message
Note Submitter: php-general at list dot php dot net ---- If a user-defined function does not explicitly return a value, then it will return NULL. For most truth tests, this can be considered as FALSE. For example: function print_list ($array) { print implode ("<br />", $array); } if (print_list ($HTTP_POST_VARS)) print "The print_list function returned a value that can be considered true." else print "The print_list function returned a value that can be considered false."

« previous php.notes (#142472) next »