3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var = null; echo (count($var) > 0) ? 'true' : 'false';
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/boDCk on line 5 false
Output for 4.3.0 - 7.1.7
false