3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (count(null)) { echo 'A'; }
based on DdGvV
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/eGWjQ on line 3
Output for 5.3.21 - 7.1.10