How do access objects' properties whose object names are obj1, obj2, obj3 .... I want to do the access method using LOOP because the only difference between this object instances is their postfix which is obj1, obj2
can i do the following?
for ($x=0;$x<4; $x++){
echo $obj . "$x"->number . "\n";
}
is this a valid php code?
Jun