25
arrayget
array_get
SYNOPSIS
array_get($v, $keys)
DESCRIPTION
EXEMPLE
CODE
- function array_get($v, $keys) {
- foreach ($keys as $k) {
- if (!is_array($v) || !array_key_exists($k, $v))
- return false;
- $v = &$v[$k];
- }
- return $v;
- }
array_get($v, $keys)
Comments