Minor syntax tweak

This commit is contained in:
Malcolm Fell 2013-06-30 12:26:13 +12:00
parent e1b9d8d7b4
commit 4155b0cb20

View File

@ -284,7 +284,7 @@ echo "\n";
$wheels = ['bicycle' => 2, 'car' => 4];
// Foreach loops can iterate over arrays
foreach ($wheels as $wheel_count){
foreach ($wheels as $wheel_count) {
echo "$wheel_count";
} // Prints "24"