int(11) ["season"]=> int(4) ["motor"]=> int(1) ["street"]=> int(1"/>  int(11) ["season"]=> int(4) ["motor"]=> int(1) ["street"]=> int(1">

Home >Backend Development >PHP Tutorial > array获取值。该怎么解决

array获取值。该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:47:14820browse

array获取值。
var_dump($str);

// array(4) { ["race"]=> int(11) ["season"]=> int(4) ["motor"]=> int(1) ["street"]=> int(1) } 

怎么foreach后获取

race
season
motor
street

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn