3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( 'a' => "Lorem Ipsum",​ 'b' => "ipsum u (lorem impsum)" ); echo $test['b'];
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected ''b'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /in/rUPfa on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /in/rUPfa on line 3
Process exited with code 255.

preferences:
180.88 ms | 1386 KiB | 52 Q