3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (count(null)) { echo "yes!"; }else { echo "no"; }
based on v1eYU
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/i6NMB on line 3 no
Output for 4.3.0 - 7.1.10
no