3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $month_temp = "78, 60, 62, 68, 71, 68, 73, 85, 66, 64, 76, 63, 81, 76, 73, 68, 72, 73, 75, 65, 74, 63, 67, 65, 64, 68, 73, 75, 79, 73"; $temp_array = explode(',', $month_temp); rsort($temp_array); print_r($temp_array); ?>
based on GQbrj
Output for hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 85 [1] => 81 [2] => 79 [3] => 78 [4] => 76 [5] => 76 [6] => 75 [7] => 75 [8] => 74 [9] => 73 [10] => 73 [11] => 73 [12] => 73 [13] => 73 [14] => 72 [15] => 71 [16] => 68 [17] => 68 [18] => 68 [19] => 68 [20] => 67 [21] => 66 [22] => 65 [23] => 65 [24] => 64 [25] => 64 [26] => 63 [27] => 63 [28] => 62 [29] => 60 )
Output for 4.3.0 - 5.6.28
Array ( [0] => 85 [1] => 81 [2] => 79 [3] => 78 [4] => 76 [5] => 76 [6] => 75 [7] => 75 [8] => 74 [9] => 73 [10] => 73 [11] => 73 [12] => 73 [13] => 73 [14] => 72 [15] => 71 [16] => 68 [17] => 68 [18] => 68 [19] => 68 [20] => 67 [21] => 66 [22] => 65 [23] => 65 [24] => 64 [25] => 64 [26] => 63 [27] => 63 [28] => 62 [29] => 60 )