PHP数组转置 function rotate($a){<br>
$b=array();<br>
foreach($a as $val){<br>
foreach($val as $k=>$v){<br>
$b[$k][] = $v;<br>
}<br>
}<br>
return $b;<br>
}
AD:真正免费,域名+虚机+企业邮箱=0元
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