开发者

What does it mean in PHP to traverse arrays?

I was wondering what does it mea开发者_如何学JAVAn in layman's terms to traverse php arrays


To examine each element in turn, possibly performing an operation upon it.


To traverse a data structure (regardless of programming language or specific data structure) is to "go through it". That is, in order to for instance inspect each element, transform every second element, remove each odd looking element, print each element and so on, you need to traverse the elements.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜