Onetastic Macro Documentation >
>
>
Array_Keys Array_Keys
Returns a new array that contains the keys of the given array.
Syntax
Array Array_Keys(Array array)
Parameters
- Array array
- Array to return the keys of.
Examples
$array = Array(8, 12, 5, 3, 14)
$keys = Array_Keys($array)
$array2["color"] = "red"
$array2["size"] = "large"
$array2["type"] = "t-shirt"
$keys = Array_KeyExists($array2)
|