Just a quick PHP 4 question. I've tried the following which doesn't work (assume $objects is an array of some generic object):
Code: Select all
foreach($objects as $item)
{
$item->setValue($value);
}I was just wondering if there was a way to use a foreach loop in PHP4 by reference?