<?php $o = new stdclass; $o->{1} = 'int'; $o->{'1'} = 'str'; var_dump($o); var_dump((array)$o);
You have javascript disabled. You will not be able to edit any code.