return true;
} return $object[$arrayItem];
} if (/* Template::ARRAY_CALL */ 'array' ===
$type || !\
is_object($object)) { if ($isDefinedTest) { return false;
} if ($ignoreStrictCheck || !
$env->
isStrictVariables()) { return;
} if ($object instanceof ArrayAccess
) { $message =
sprintf('Key "%s" in object with ArrayAccess of class "%s" does not exist.',
$arrayItem, \
get_class($object));
} elseif (\
is_object($object)) { $message =
sprintf('Impossible to access a key "%s" on an object of class "%s" that does not implement ArrayAccess interface.',
$item, \
get_class($object));
} elseif (\
is_array($object)) { if (empty($object)) { $message =
sprintf('Key "%s" does not exist as the array is empty.',
$arrayItem);
} else {