You are looking for the break statement. $arr = array('one', 'two', 'three', 'four', 'stop', 'five'); while (list(, $val) = each($arr)) { if ...
確定! 回上一頁