is it possible to make stdClass objects work like a generically indexed array?
i.e. $array = Array ( [0] => 120 [1] => 382 [2] => 552 [3] => 595 [4] => 616 )
wou
I can't really see what you mean to do, short of
a = array(); $obj->a[] = 120; $obj->a[] = 382; // ... ?>
You cannot simply "push" a field onto an object. You need to know the name of the field in order to retrieve the value anyways, so it's pretty much nonsense.