3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $s[2] = 'so': $s[1] = 'stupid'; print_R($s);
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ':' in /in/1n6ab on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ':' in 1n6ab on line 2
Process exited with code 255.