标签:log array 公众 color bre class nbsp logs break
w
<?php $warr = array(1,2,3); $w_break = 0; foreach($warr AS $w){ if($w==2)break; $w_break += $w; } echo $w_break; $warr = array(1,2,3); $w_continue = 0; foreach($warr AS $w){ if($w==2)continue; $w_continue += $w; } echo $w_continue;
14
微信公众号 待发货-物流中-已收货 foreach break continue
标签:log array 公众 color bre class nbsp logs break
原文地址:http://www.cnblogs.com/yuanjiangw/p/6538539.html