3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ ['item1' => 80], ['item2' => 25], ['item3' => 85], ]; array_multisort(array_map('current', $array), $array); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eRX6l
function name:  (null)
number of ops:  13
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    9     1        INIT_FCALL                                                   'array_multisort'
          2        INIT_FCALL                                                   'array_map'
          3        SEND_VAL                                                     'current'
          4        SEND_VAR                                                     !0
          5        DO_ICALL                                             $2      
          6        SEND_VAL                                                     $2
          7        SEND_REF                                                     !0
          8        DO_ICALL                                                     
   10     9        INIT_FCALL                                                   'var_export'
         10        SEND_VAR                                                     !0
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
141.77 ms | 1728 KiB | 16 Q