Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

array pop php

<?php
//array_pop — Pop the element off the end of array
  
$stack = array("orange", "banana", "apple", "raspberry");
$fruit = array_pop($stack);
print_r($stack);

Array
(
    [0] => orange
    [1] => banana
    [2] => apple
)
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #array #pop #php
ADD COMMENT
Topic
Name
7+7 =