3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'a12'; $secondchar = substr($str, 1, 1); echo $secondchar;
Output for 4.3.0 - 7.2.0
1