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.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.