3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = '2343223A'; $t2 = '32423423'; echo substr($t, -1, 1); echo '<br >'; echo substr($t2, -1, 1);
based on n2GIT
Output for 4.3.0 - 7.2.6
A<br >3