$_array
$_array :
Array variables
Copyright 2007-2017 Horde LLC (http://www.horde.org/)
getOrSet(string $offset, string $default = null) : mixed
Gets the value at $offset. If no value exists at that offset, or the value $offset is NULL, then $default is set as the value of $offset.
string | $offset | Offset to retrieve and set if unset |
string | $default | Default value if $offset does not exist |
Value at $offset or $default
pop(string $offset, string $default = null) : mixed
Gets the value at $offset and deletes it from the array. If no value exists at $offset, or the value at $offset is null, then $default will be returned.
string | $offset | Offset to pop |
string | $default | Default value |
Value at $offset or $default