ID: 50430 Updated by: f...@php.net Reported By: james at calminferno dot net -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 5.3.1 New Comment:
As you already explained, it's chaining 2 already built-in functions, both array-related. Doesn't look like another function is needed here. Previous Comments: ------------------------------------------------------------------------ [2009-12-09 18:30:58] james at calminferno dot net 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 this bug report at http://bugs.php.net/?id=50430&edit=1