3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $truc = new Stdclass; $truc->hello = " "; $truc->a = function(){echo "a";}; echo count($truc);
based on 5N8eN
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/JV6HH on line 6 1
Output for 5.3.19 - 7.1.10
1