|
array_keysReturn all the keys or a subset of the keys of an array Description
array array_keys
( array
$array
[, mixed $search_value
[, bool $strict = false
]] )
array_keys returns the keys, numeric and
string, from the
If the optional Parameters
Return Values
Returns an array of all the keys in Changelog
Examples
Example #1 array_keys example
<?php The above example will output: Array ( [0] => 0 [1] => color ) Array ( [0] => 0 [1] => 3 [2] => 4 ) Array ( [0] => color [1] => size ) See Also
|