3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo count(''); if (count('') > 0){ echo 'yaya'; }
Output for 7.2.0 - 7.3.0rc4
Warning: count(): Parameter must be an array or an object that implements Countable in /in/aVtmZ on line 2 1 Warning: count(): Parameter must be an array or an object that implements Countable in /in/aVtmZ on line 3 yaya
Output for 4.3.0 - 7.1.20
1yaya