<?php $arr = array(); $o = new stdClass(); $o->obj = 'obj'; $arr[] = $o; $arr[]->obj2 = 'ssss'; print_r($arr, true);
You have javascript disabled. You will not be able to edit any code.