why does this work:

        foreach ($table as $row)
                list ($a, $b) = $row;

but this doesn't?

        foreach ($table as list ($a, $b));

it seems to me that the two are equivalent.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to