php array_pop reverse
snippet in php

php array_pop reverse

user2822


<?php
$stack = array("orange", "banana", "apple", "raspberry");
$fruit = array_shift($stack); //$fruit = "orange";

?>