3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_export(new \stdClass);
based on 8TtZV
Output for 5.3.0 - 7.2.0
stdClass::__set_state(array( ))
Output for 5.1.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/tYLJZ on line 3 stdClass::__set_state(array( ))
Output for 4.3.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/tYLJZ on line 3 class stdClass { }