3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ctr = 1; for($i=1;$i<5;$i++) { $ctr*=$i; } echo count($xxx);
based on DAG4f
Output for 7.2.0
Notice: Undefined variable: xxx in /in/EMkAo on line 7 Warning: count(): Parameter must be an array or an object that implements Countable in /in/EMkAo on line 7 0
Output for 5.3.19 - 7.1.10
Notice: Undefined variable: xxx in /in/EMkAo on line 7 0