Zeev Suraski wrote:
>   Log:
>   Support references in foreach()
>   Syntax:
>     foreach ($arr as &$val)
>     foreach ($arr as $key => &$val)

  Does this mean that before this patch

    foreach ($arr as $val) {}

  did not put a reference in $val but a copy (clone)?

-- 
Sebastian Bergmann
http://sebastian-bergmann.de/                   http://phpOpenTracker.de/

Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to