Function

array_pop

Synopsis

array_pop(mixed): mixed

Area
Runtime\PS\Core\Arrays\array_popareas

Description

array_pop removes the last element of $array and returns it, leaving the remaining keys alone; an empty array returns null and a value that is not a script array is an error.

Usage

$value = array_pop($arguments);
$fn = array_pop(...);

See also