3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $obj = new stdClass(); $obj->{123} = "foo"; $arr = (array)$obj; var_dump($arr); var_dump($arr['123'], $arr[123]);