3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $CONFIG["lang"]["nav"]["news"] = "News"; $CONFIG["lang"]["nav"]["news"] ["add"] = "News hinzuf├╝gen"; $CONFIG["lang"]["nav"]["news"] ["edit"] = "News bearbeiten"; echo $CONFIG["lang"]["nav"]["news"]["add"];
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: Illegal string offset 'add' in /in/6MIWD on line 3 Warning: Illegal string offset 'edit' in /in/6MIWD on line 4 Warning: Illegal string offset 'add' in /in/6MIWD on line 6 N
Output for 4.3.0 - 5.3.29, hhvm-3.12.0
N
Output for hhvm-3.10.0

Process exited with code 153.