Foreach usage

xiaoxiao2021-03-06  37

Note: Foreach does not support the ability to use "@" to disable error messages. You may notice the following code features exactly the same: / n";} foreach ($ arr as $ value) {echo "value: $ value
/ n";}?> The following code function is also identical: / n";} foreach ($ ARR AS) $ key => $ value) {echo "key: $ key; value: $ value
/ n";}?>

转载请注明原文地址:https://www.9cbs.com/read-71227.html

New Post(0)