The What
Syntax
array array_keys ( array $array [, mixed $search_value = null [, bool $strict = false ]] );
Description
The array_keys
function returns the keys, numeric and string, from the array.
If the optional search_value is specified, then only the keys for that value are returned. Otherwise, all the keys from the array are returned.
You get WET when you swim. Stay DRY when you code.
More coming soon…keep checking back.