#24258 [NEW]: array_keys 3rd parameter: strict

From: Date: Thu, 19 Jun 2003 14:59:37 +0000
Subject: #24258 [NEW]: array_keys 3rd parameter: strict
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-42244@lists.php.net to get a copy of this message
From: php at electricsurfer dot com Operating system: Win XP PHP version: 4.3.2 PHP Bug Type: Feature/Change Request Bug description: array_keys 3rd parameter: strict Description: ------------ array_keys() would benefit from an optional 3rd parameter called $strict. array_keys(array input [, mixed search_value [, bool strict]])) . This is similar to what in_array() has. If set to true it would return an array of keys where value_for_key===search_value. (not only ==search_value) -- Edit bug report at http://bugs.php.net/?id=24258&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=24258&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=24258&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24258&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24258&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24258&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24258&r=support Expected behavior: http://bugs.php.net/fix.php?id=24258&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24258&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24258&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24258&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24258&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24258&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24258&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24258&r=gnused

« previous php.bugs (#42244) next »