1.foreach循环
<?php $arr=['111','2#4',7]; foreach($arr as $key=>$value){ print_r($value."\n"); } ?>
2.for循环
<?php $arr=['aa','bb','cc','dd']; for($i=0;$i<count($arr);$i++){ print_r($arr[$i]."\n"); } ?>