3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define('key_name' , 'laruence'); .... //省略很多行代码 $array[key_name] = 2; var_dump($array); ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.13
Parse error: syntax error, unexpected '.' in /in/QgM8L on line 4
Process exited with code 255.