Home > Backend Development > PHP Tutorial > PHP多维数组*键名*重命名解决思路

PHP多维数组*键名*重命名解决思路

WBOY
Release: 2016-06-13 12:42:09
Original
1067 people have browsed it

PHP多维数组****键名****重命名
$a = array(127 => array(0 => dog,1 => cat,2 => duck),854 => array(0 => fish,1 => monkey,2=>bear))




请将“127”,“854”重命名成“0”,“1”。

不知道是不是有办法,谢谢各位!!!

PHP Color
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template