ID: 13567
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Assigned
Bug Type: Arrays related
Operating System: Linux 2.2.19
PHP Version: 4.0.5
Old Assigned To:
Assigned To: jeroen
New Comment:
Use var_dump to check what's actually returned.
NULL is returned, confirmed with latest CVS.
Assigning to myself
Previous Comments:
------------------------------------------------------------------------
[2001-10-05 14:50:57] [EMAIL PROTECTED]
script to reproduce the error quickly:
// won't produce output, is not boolean FALSE
if (array_search ('a', array ('b')) === FALSE)
echo 'is boolean FALSE';
// won't produce output, is not of type boolean
if (is_bool (array_search ('a', array ('b'))))
echo 'is boolean';
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13567&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]