Count Similar Array Keys

前端 未结 4 1590
花落未央
花落未央 2021-01-13 18:43

I have a POST request coming to one of my pages, here is a small segment:

[shipCountry] => United States
[status] => Accepted
[sku1] => test
[produc         


        
4条回答
  •  伪装坚强ぢ
    2021-01-13 19:04

    Though there be plenty of examples, if you're guaranteed that the numbers should be contiguous, I usually take the approach:

提交回复
热议问题