Related Functions

array_keys

PHP 4.0+

Returns all keys or a subset of keys from an array as a new array, optionally filtering by value matching.

Description

The array_keys() Returns all keys or a subset of keys from an array as a new array, optionally filtering by value matching.

Example