3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arrTags = [ 10 => 2, 20 => 4, 30 => 2, 40 => 3, 50 => 3, 60 => 3, 70 => 3, 80 => 3, 90 => 2, 100 => 1, 110 => 1, 112 => 3, 130 => 2, 140 => 5, 150 => 3 ]; //uksort($arrTags, fn($a, $b) => [$arrTags[$b], $a] <=> [$arrTags[$a], $b]); array_multisort($arrTags, SORT_DESC, array_keys($arrTags), $arrTags); var_export($arrTags);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rQak4
function name:  (null)
number of ops:  14
compiled vars:  !0 = $arrTags
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
   22     1        INIT_FCALL                                                   'array_multisort'
          2        SEND_REF                                                     !0
          3        SEND_VAL                                                     3
          4        INIT_FCALL                                                   'array_keys'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                             $2      
          7        SEND_VAL                                                     $2
          8        SEND_REF                                                     !0
          9        DO_ICALL                                                     
   23    10        INIT_FCALL                                                   'var_export'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.94 ms | 1881 KiB | 16 Q