Does the following code work in php4
foreach ($array as $i => $values) {
print "$i {\n";
foreach ($values as $key => $value) {
print " $key => $value\n";
}
print "}\n";
}
This works with php5 but the same loop with no changes does not work with the version 4. The foreach iterates through the loop but the values are not displayed. Could someone help me with this