3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $list = new SplStack(); $list->push("a"); $list->push("b"); $list->push("c"); echo count($list);
based on r1U7B
Output for 5.3.18 - 7.2.0
3