3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = new stdClass; $o->{''} = 'a';
Output for 4.3.0 - 5.0.4, 7.1.0
Output for 7.0.0 - 7.0.14
Fatal error: Uncaught Error: Cannot access empty property in /in/jo6CC:4 Stack trace: #0 {main} thrown in /in/jo6CC on line 4
Process exited with code 255.
Output for hhvm-3.12.0
Fatal error: Uncaught Error: Cannot access empty property in /in/jo6CC:4 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.0.5 - 5.6.28, hhvm-3.10.0
Fatal error: Cannot access empty property in /in/jo6CC on line 4
Process exited with code 255.