array_pop

array_pop -- Pop the element off the end of array

Description

mixed array_pop ( array array)

Esimerkki 1 . array_pop( ) example







and rasberry will be assigned to $fruit .



Varoitus

Tämä funktio voi palauttaa Boolean-arvon FALSE , mutta voi myös palauttaa ei-Boolean-arvon joka evaluoituu arvoksi FALSE , kuten 0 tai " " . Lisätietoja Boolean-arvot Lisätietoja Boolean-arvot kappaleesta . Käytä paluuarvon testaukseen === operaattoria .