<?php $x=new stdClass(); $y='1002'; $x->$y = ''; var_dump(key(array(1002=>'')), key((array)$x));
You have javascript disabled. You will not be able to edit any code.