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.
Who needs copy/paste? Right. Writing code from scratch is fun!
More coming soon…keep checking back.