3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sample[0] = array("abc", 32); $sample[1] = array("def", 11); $sample[2] = array("hij", 76); $sample[3] = array("klm", 9); $sample[4] = array("nop", 12); print_r($sample); array_multisort($sample, SORT_NUMERIC); echo '<br />'; print_r($sample);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j8eRh
function name:  (null)
number of ops:  22
compiled vars:  !0 = $sample
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  <array>
    4     2        ASSIGN_DIM                                               !0, 1
          3        OP_DATA                                                  <array>
    5     4        ASSIGN_DIM                                               !0, 2
          5        OP_DATA                                                  <array>
    6     6        ASSIGN_DIM                                               !0, 3
          7        OP_DATA                                                  <array>
    7     8        ASSIGN_DIM                                               !0, 4
          9        OP_DATA                                                  <array>
    8    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
   10    13        INIT_FCALL                                               'array_multisort'
         14        SEND_REF                                                 !0
         15        SEND_VAL                                                 1
         16        DO_ICALL                                                 
   12    17        ECHO                                                     '%3Cbr+%2F%3E'
   13    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.06 ms | 1395 KiB | 17 Q