3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $o = new stdClass; $o->{''} = 'a';
Output for 4.3.0 - 5.0.4, 7.1.0 - 7.3.0rc6
Output for 7.0.0 - 7.0.20
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 5.0.5 - 5.6.28
Fatal error: Cannot access empty property in /in/jo6CC on line 4
Process exited with code 255.