3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $list = new SplDoublyLinkedList(); $list->push('a'); $list->push('b'); $list->push('c'); $list->push('d'); var_dump($list); var_dump($list->current());
based on IhkJJ