PHP » GoLang |
login |
register |
about
|
array_keys(PHP 4, PHP 5, PHP 7) array_keys — Return all the keys or a subset of the keys of an array Description
array_keys() returns the keys, numeric and
string, from the
If the optional Parameters
Return Values
Returns an array of all the keys in 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
|
more
Recently updated
more
Most requested
more
Last requests
|