3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new \stdClass(); $obj->{0} = null; var_dump($obj);
Output for 5.5.0 - 7.2.8
object(stdClass)#1 (1) { ["0"]=> NULL }