Je moet ingelogd zijn om te stemmen.
mixed array_shift ( array &array)
<?php $stack = array("orange", "banana", "apple", "raspberry"); $fruit = array_shift($stack); print_r($stack); ?> en in $stack blijft over: Array ( [0] => banana [1] => apple [2] => raspberry ) en $fruit="orange"