3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $temp = null; echo (count($temp) < 1) ? 'empty' : 'something';
Output for 7.2.0 - 7.3.0rc4
Warning: count(): Parameter must be an array or an object that implements Countable in /in/gUcEO on line 5 empty
Output for 4.3.0 - 7.1.20
empty