PHP中foreach遍历的不仅仅是数组
1.foreach的格式 foreach (array_expression as $value) statement foreach (array_expression as $key => $value) statement 2....
1.foreach的格式 foreach (array_expression as $value) statement foreach (array_expression as $key => $value) statement 2....