foreach ($array as $key => $value){ if($value == 5)break; } // 这是一种。 // 如果是嵌套的循环,用continue加数字也可以实现.
確定! 回上一頁