3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new stdClass(); $a->b = null; echo count($a->b);
based on scLua
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/bgXic on line 7 0
Output for 5.5.0 - 7.1.10
0