<?php $obj = new stdClass; $obj->{'123'} = "foo"; $arr = (array) $obj; var_dump($arr["123"]); // Undefined offset: 123
You have javascript disabled. You will not be able to edit any code.