Array Help class. More...
Static Public Member Functions | |
static | search ($ary, $k, $def=false) |
this just lets us safely access array variables that might not be set, optionally specifying a default to return in case the variable isn't found. |
Array Help class.
static arr::search | ( | $ | ary, | |
$ | k, | |||
$ | def = false | |||
) | [static] |
this just lets us safely access array variables that might not be set, optionally specifying a default to return in case the variable isn't found.
Note that $k (for key) can be an array