strange behavior in PHP temp var

\[code\]foreach ($arr1 as $v){ ...}foreach ($arr2 as $v){ ...}\[/code\]then, the two \[code\]$v\[/code\] will have some strange behavior. If i replace the second \[code\]$v\[/code\] with \[code\]$v2\[/code\], then everything is ok.
 
Back
Top