3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ [ 123, 321, 231, ], [ "abc", "bca", "cab", ], [ 0.9999, 43.786, false, ], ]; array_multisort($arr[0], SORT_DESC, SORT_NUMERIC, $arr[1], SORT_STRING, $arr[2], SORT_ASC, SORT_NATURAL ); var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9gd4o
function name:  (null)
number of ops:  18
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   21     1        INIT_FCALL                                               'array_multisort'
          2        FETCH_DIM_W                                      $2      !0, 0
          3        SEND_REF                                                 $2
          4        SEND_VAL                                                 3
          5        SEND_VAL                                                 1
   22     6        FETCH_DIM_W                                      $3      !0, 1
          7        SEND_REF                                                 $3
          8        SEND_VAL                                                 2
   23     9        FETCH_DIM_W                                      $4      !0, 2
         10        SEND_REF                                                 $4
         11        SEND_VAL                                                 4
         12        SEND_VAL                                                 6
   21    13        DO_ICALL                                                 
   26    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.55 ms | 1459 KiB | 15 Q