3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Lol{} var_dump(count(new Lol));
based on SJo3J
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/O0gD8 on line 3 int(1)
Output for 4.3.0 - 7.1.10
int(1)