try:
<?php
$i = array('zero','one','two');
foreach ($i AS &$j) {}
unset($j) // <-------- this
foreach ($i AS $j) {
echo $j . " ";
}
?>it's known behavior. may app rely on this.
try:
<?php
$i = array('zero','one','two');
foreach ($i AS &$j) {}
unset($j) // <-------- this
foreach ($i AS $j) {
echo $j . " ";
}
?>it's known behavior. may app rely on this.