ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

Sort Array in Descending Order, According to Key - krsort()


<?php
$age=array("Peter"=>"35","Ben"=>"37","Joe"=>"43");
krsort($age);
?>


'์›น ์ฝ”๋”ฉ > php' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

PHP $_SERVER  (0) 2015.03.31
PHP $GLOBALS  (0) 2015.03.31
Sort Array in Descending Order, According to Value - arsort()  (0) 2015.03.31
Sort Array in Ascending Order, According to Key - ksort()  (0) 2015.03.31
Sort Array in Ascending Order, According to Value - asort()  (0) 2015.03.31
๋Œ“๊ธ€
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
ยซ   2025/01   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
๊ธ€ ๋ณด๊ด€ํ•จ