3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $queue = array("Pop","Hon ","Bob","Van "); $idol = array_pop($queue); print_r($queue); ?>
based on XE5Gr
Output for 4.3.0 - 7.1.7
Array ( [0] => Pop [1] => Hon [2] => Bob )