Gen. partnerAlgotech

PHP function array_pop()

Pop the element off the end of array

|
September 11, 2019

Availability in PHP 4.0

Pop the element off the end of array

Parameters

Parameter Data type Default value Note
$array array not The array to get the value from.

Return values

mixed

the last value of array. If array is empty (or is not an array), &null; will be returned.

Additional resources

Official array-pop documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.