3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a[] = &$a; var_dump(count($a, COUNT_RECURSIVE));
based on CQeSE
Output for 5.2.6 - 5.6.28, 7.0.0 - 7.1.0
Warning: count(): recursion detected in /in/32qqh on line 4 int(3)
Output for 4.3.0 - 5.2.5, hhvm-3.10.0 - 3.12.0

Process exited with code 139.