note 17244 added to function.get-defined-functions

From: Date: Fri, 30 Nov 2001 22:53:03 +0000
Subject: note 17244 added to function.get-defined-functions
Groups: php.notes 
Request: Send a blank email to php-notes+get-21499@lists.php.net to get a copy of this message
The whitespace is actually a null, not a space. To see if a user function is defined, try the following: if (in_array($func, $funcs['user']) or in_array("$func\0", $funcs['user'])) ... (I'm testing for both, since I'm guessing this bug will go away in a future version, if it hasn't already.) -- http://www.php.net/manual/en/function.get-defined-functions.php http://master.php.net/manage/user-notes.php?action=edit+17244 http://master.php.net/manage/user-notes.php?action=delete+17244 http://master.php.net/manage/user-notes.php?action=reject+17244

« previous php.notes (#21499) next »