3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = "lol"; echo $i[0]; echo count($i);
based on iDaVV
Output for 7.2.0
l Warning: count(): Parameter must be an array or an object that implements Countable in /in/0EnVZ on line 6 1
Output for 5.3.19 - 7.1.10
l1