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
