ID: 13567
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Assigned
Status: Closed
Bug Type: Arrays related
Operating System: Linux 2.2.19
PHP Version: 4.0.5
Assigned To: jeroen
New Comment:

Fixed in CVS, will be in 4.0.8, and maybe in 4.0.7

(what's the policy on this kind of bugfixes?)

Previous Comments:
------------------------------------------------------------------------

[2001-10-05 16:05:26] [EMAIL PROTECTED]

Use var_dump to check what's actually returned.

NULL is returned, confirmed with latest CVS.

Assigning to myself

------------------------------------------------------------------------

[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]

Reply via email to