print_r 相較於echo 來輸出陣列會來的更有效率, echo 需要逐筆輸出,旦print_r 一次即輸出全部。 用print_r 輸出陣列. $fruit = array('apple','banana','orange','melon') ...
確定! 回上一頁