Description
array_key_exists()
: check if key exists into array!
Equivalent to the PHP Function PHP array_key_exists()
Source Code
Code: bash
Parameters
key
is the searched keyhaystack
is the array where to search
Return Values
- Returns
0
if thekey
found intohaystack
; considere this value asTRUE
- Otherwise, returns
1
: considere this value asFALSE
Example
Code: bash