3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = "aaabbbcc123110"; $r = substr($start,0,-1); var_dump ($r);
Output for 4.3.0 - 7.1.0
string(13) "aaabbbcc12311"