3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test_array = array( 0 => "zero", 1 => "one", ); $string = 'test_array[0]'; echo {$string}
Output for 5.3.0 - 5.4.27
Parse error: syntax error, unexpected '{' in /in/HMZVA on line 9
Process exited with code 255.