3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = '"UN073121092BR"'; echo substr($str, srtlen($str)-1, 1);
based on tuGaH
Output for 7.0.0 - 7.3.0alpha1
Fatal error: Uncaught Error: Call to undefined function srtlen() in /in/uXD5F:9 Stack trace: #0 {main} thrown in /in/uXD5F on line 9
Process exited with code 255.
Output for 5.6.0 - 5.6.25
Fatal error: Call to undefined function srtlen() in /in/uXD5F on line 9
Process exited with code 255.