摘要: //1.sort() 索引数组按照值的字母升序排 $fruits = array( "lemon" , "orange" , "banana" , "apple" ); sort ( $fruits ); foreach ( $fruits as $key => $val ) { echo "fruits[" . $key . "] = " . $val . "\n" ; } echo '... 阅读全文
posted @ 2016-02-29 10:44 东歌 阅读(186) 评论(0) 推荐(0) 编辑