3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('A' => 'B'); echo $arr->{'A'};
Output for 5.2.15 - 5.6.28, 7.0.0 - 7.1.0
Notice: Trying to get property of non-object in /in/CmjTH on line 4
Output for hhvm-3.12.0
Notice: Cannot access property on non-object in /in/CmjTH on line 4
Output for hhvm-3.10.0

Process exited with code 153.