3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo count($null);
Output for 7.2.0 - 7.3.1
Notice: Undefined variable: null in /in/OTTYd on line 3 Warning: count(): Parameter must be an array or an object that implements Countable in /in/OTTYd on line 3 0
Output for 5.0.4 - 7.1.25
Notice: Undefined variable: null in /in/OTTYd on line 3 0
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: null in /in/OTTYd on line 3 0