3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str=8989d892; echo substr(chunk_split($str,2,':')0,1);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'd892' (T_STRING) in /in/PKrQr on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/PKrQr on line 2
Process exited with code 255.

preferences:
174.7 ms | 1399 KiB | 66 Q