|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-10 06:02 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 18 15:00:01 2025 UTC |
array_search doesnt search the first index (0) of an array. example: url: test.php?action=new&state=ok&module=1 test.php: ... $page_params=array_merge($HTTP_POST_VARS,$HTTP_GET_VARS); //merge is not the problem array_search("state",array_keys($page_params)); //result: true -> its ok array_search("action",array_keys($page_params)); //result: false -> BUG array_keys() works correct (I checked this), the problem is the array_search().