Is it possible to simply this code...
echo $object->property1;
echo $object->property2;
echo $object->property3;
... with something like this, with eval ?
for ($i=0; $i<10; $i++)
echo eval("$object->property".$i);
Thanks.
Is it possible to simply this code...
echo $object->property1;
echo $object->property2;
echo $object->property3;
... with something like this, with eval ?
for ($i=0; $i<10; $i++)
echo eval("$object->property".$i);
Thanks.