3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[] = 1; $a[] = 2; $a[] = 3; echo substr(233, 1. 1);
Output for 5.4.0 - 5.4.19
Parse error: syntax error, unexpected '1' (T_LNUMBER) in /in/6KpWj on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LNUMBER in /in/6KpWj on line 6
Process exited with code 255.