3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo var_export(new stdClass, TRUE); echo var_export(array(1,2,3), TRUE);
Output for 5.1.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
stdClass::__set_state(array( ))array ( 0 => 1, 1 => 2, 2 => 3, )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.0.5
class stdClass { }array ( 0 => 1, 1 => 2, 2 => 3, )