3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str=8989892; echo substr(chunk_split($str,2,':')0,1);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '0' (T_LNUMBER) in /in/TJbhd on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_LNUMBER in /in/TJbhd on line 3
Process exited with code 255.