$class = array('c1', 'c2', 'c3', 'c4');
$people['c1'] = 'A';
$people['c2'] = 'B';
$people['c3'] = 'C';
$people['c4'] = 'D';
foreach ($class as $key)
{
echo "Name: ".$people[$key]."\n";
}
result :
A
B
C
D
now when i add new 50 values to $class and $people
in some host everthing fine, but with hostpapa.com
looping only run well 36 time.
from 36+ , some values are null ( $people[$key] = null )
I don't know why. Maybe a settings limit the array ?
Note: Suhosin is instlled on this host