So $array now contains [1, 2, 2]. To still get the benefit of using references in foreach loops without running the risk of these kinds of problems, call unset ...
確定! 回上一頁