|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-30 12:30 UTC] rquadling@php.net
[2009-11-30 12:31 UTC] rquadling@php.net
[2009-11-30 19:16 UTC] bugzilla33 at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 17:00:02 2026 UTC |
Description: ------------ bug in manual Reproduce code: --------------- --- From manual page: function.array-search#Changelog --- Expected result: ---------------- 4.2.0 Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE. Actual result: -------------- PHP 5.3.1 returns FALSE on failure, no NULL <? var_dump(array_search('x',array('a'=>'a','b'=>'b','c'=>'c','d'=>'d'))); ?>