#50430 [NEW]: array_key_position
| From: | james at calminferno dot net | Date: | Wed, 09 Dec 2009 18:30:58 +0000 |
| Subject: | #50430 [NEW]: array_key_position | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145587@lists.php.net to get a copy of this message | ||
From: james at calminferno dot net
Operating system: All
PHP version: 5.3.1
PHP Bug Type: Feature/Change Request
Bug description: array_key_position
Description:
------------
Create a single function called array_key_position that returns the array
position of a key. Basically turning array_search( $key, array_keys(
$my_assoc_array ) ) into a single function that returns the key position or
false if doesn't exist.
--
Edit bug report at http://bugs.php.net/?id=50430&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50430&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50430&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50430&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50430&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50430&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50430&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50430&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50430&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50430&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50430&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50430&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50430&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50430&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50430&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50430&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50430&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50430&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50430&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50430&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50430&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50430&r=mysqlcfg