3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = 10; $d = '0'.$t; echo $d."\r\n"; echo substr($d,-1, 2);
based on X92b6
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
010 0
Output for hhvm-3.10.0

Process exited with code 153.