Articles Posted in the " array_pop " Category

  • array_pop

    array_pop

    Syntax:mixed array_pop ( array &$array ) Description: Pop the element off the end of array <?php $stack = array("orange", "banana", "apple", "raspberry"); $fruit = array_pop($stack); print_r($stack); ?> OUTPUT Array ( [0] => orange [1] […]