array_pop php function

Publié le: 17 décembre 2022
sur la chaîne: PHPeasy
13
0

array_pop — Pop the element off the end of array
Description
array_pop(array &$array): mixed

array_pop() pops and returns the value of the last element of array, shortening the array by one element.

Note: This function will reset() the array pointer of the input array after use.

Parameters

array

The array to get the value from.

Return Values

Returns the value of the last element of array. If array is empty, null will be returned.


Sur cette page du site, vous pouvez voir la vidéo en ligne array_pop php function durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur PHPeasy 17 décembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13 fois et il a aimé 0 téléspectateurs. Bon visionnage!