3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (null === $event) { $event = new StdClass(); } var_dump($event);
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: event in /in/ZFK9i on line 3 object(stdClass)#1 (0) { }
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: event in /in/ZFK9i on line 3 object(stdClass)#1 (0) { }
Output for 4.3.0 - 4.4.9
Notice: Undefined variable: event in /in/ZFK9i on line 3 object(stdClass)(0) { }