單項選擇題

要修改每個元素的值,如何遍歷$myarray數組最合適?()

A.用for循環(huán)
B.用foreach循環(huán)
C.用while循環(huán)
D.用do…while循環(huán)
E.辦不到!

微信掃碼免費搜題