3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'this'; echo $a[count($a)-1];
Output for 7.2.0 - 7.2.6
Warning: count(): Parameter must be an array or an object that implements Countable in /in/g4Pp2 on line 4 t
Output for 4.3.0 - 7.1.20
t