Objeto de bucle de PHP

foreach ($objects as $obj) {
   echo $obj->property;
}
Lazy Lemur