3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $countAA = 0; $sample = count($countAA) > 3; echo "sample: " . (int)$sample . "\n";
based on 4SITA
Output for 7.2.5 - 7.3.0beta1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/HUlYe on line 4 sample: 0
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
sample: 0