3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = new \stdClass(); $test->test = 'pouet'; $test = (array) $test; var_dump($test);
Output for 5.6.38 - 7.3.0rc3
array(1) { ["test"]=> string(5) "pouet" }