📜  php print top n of array - PHP 代码示例
📅  最后修改于: 2022-03-11 14:54:31.802000             🧑  作者: Mango
代码示例1
//arsort($myArray); //sort if you need to then
print_r(array_slice($myArray, 0, 10));//print top 10 item in array