当前位置:编程学习 > php >>

<?php $a=array('z'=>'zhang','w'=>'wang','zhao','qian'); ksort($a); print_r($a); ?>

为什么输出结果为:Array ( [0] => zhao [w] => wang [z] => zhang [1] => qian
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,