3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $q = new SplQueue(); $q->push(1); $q->push(2); $q->push(3); echo $q->current(); $q->push(4); echo $q->current();
based on mm5mS
Output for 5.6.0 - 7.3.0rc6