Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

removing the last value of an array


<?php
$stack = array("orange", "banana", "apple", "raspberry");
$fruit = array_pop($stack);
print_r($stack);
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #removing #array
ADD COMMENT
Topic
Name
2+8 =