3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = [ [0 => "F"], [1 => "E"], [60 => "B"], [20 => "C"], [14 => "D"], [100 => "A"] ]; array_multisort(array_map('key', $list), SORT_DESC, $list); var_export($list);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hcume
function name:  (null)
number of ops:  14
compiled vars:  !0 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'array_multisort'
          2        INIT_FCALL                                               'array_map'
          3        SEND_VAL                                                 'key'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        SEND_VAL                                                 $2
          7        SEND_VAL                                                 3
          8        SEND_REF                                                 !0
          9        DO_ICALL                                                 
   14    10        INIT_FCALL                                               'var_export'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.65 ms | 998 KiB | 16 Q