search

Home  >  Q&A  >  body text

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

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

phpcn_u224phpcn_u2242903 days ago1623

reply all(3)I'll reply

  • 大学生de小铺子

    大学生de小铺子2017-11-21 11:28:15

    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


    reply
    0
  • 数据分析师

    数据分析师2017-09-30 23:02:14

    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.

    reply
    0
  • 阿神

    阿神2016-12-20 09:21:52

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

    reply
    0
  • Cancelreply