3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $stack = array("bung","mhee","monkey","hippo","turtle"); $fruit = array_pop($stack); print_r($stack); ?>
based on QORC6
Output for 4.3.0 - 7.1.0
Array ( [0] => bung [1] => mhee [2] => monkey [3] => hippo )