Hi,

$a=1;
$b=&$a;
foreach(array(2,3) as $b);
echo "a=$a";

// Print a=3

Is it the behaviour expected
in a foreach loop?

JP


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to