foreach($data as $key => $value)这里的as是什么意思?
phpcn_u224
phpcn_u224 2016-12-20 09:21:32
0
3
1603

foreach($data  as $key => $value)这里的as是什么意思?

phpcn_u224
phpcn_u224

reply all(3)
lizheng13738051517

This is a grammatical format. The purpose is to tell the parser that yours should be parsed in the same way as mine. For example, in this example foreach($data as $key => $value), it means that yours should be parsed according to key-value pairs. Way to parse


数据分析师

foreach($data as $key => $value) What does as here mean?-PHP Chinese Q&A-foreach($data as $key => $value) What does as here mean?-PHP Chinese Online Q&A

Watch it and learn.

阿神

意思就是在数组中按照as后面的格式来寻找数据

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template