3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str="93-94-2"; echo $str[count($str)-1];
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/vo5ko on line 4 9
Output for 5.3.18 - 7.1.10
9