3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar[1] = array("game","scissors","rock","paper"); $ar[2] = array("D", "B", "A", "C"); $ar[3] = array("four","two","one","three"); $supar = array(&$ar[2],&$ar[1],&$ar[3]); //array_multisort($ar[2],$ar[1],$ar[3]); call_user_func_array('array_multisort', $supar); for ($j=0;$j<=3;$j++) { for ($i=1;$i<=3;$i++) { echo $ar[$i][$j]." "; } echo "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 19
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 21
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 19
Branch analysis from position: 32
Branch analysis from position: 19
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 21
Branch analysis from position: 28
Branch analysis from position: 21
filename:       /in/ptiog
function name:  (null)
number of ops:  33
compiled vars:  !0 = $ar, !1 = $supar, !2 = $j, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 1
          1        OP_DATA                                                  <array>
    3     2        ASSIGN_DIM                                               !0, 2
          3        OP_DATA                                                  <array>
    4     4        ASSIGN_DIM                                               !0, 3
          5        OP_DATA                                                  <array>
    7     6        FETCH_DIM_W                                      $7      !0, 2
          7        INIT_ARRAY                                       ~8      $7
          8        FETCH_DIM_W                                      $9      !0, 1
          9        ADD_ARRAY_ELEMENT                                ~8      $9
         10        FETCH_DIM_W                                      $10     !0, 3
         11        ADD_ARRAY_ELEMENT                                ~8      $10
         12        ASSIGN                                                   !1, ~8
    9    13        INIT_FCALL                                               'array_multisort'
         14        SEND_ARRAY                                               !1
         15        CHECK_UNDEF_ARGS                                         
         16        DO_FCALL                                      1          
   12    17        ASSIGN                                                   !2, 0
         18      > JMP                                                      ->30
   13    19    >   ASSIGN                                                   !3, 1
         20      > JMP                                                      ->26
   14    21    >   FETCH_DIM_R                                      ~15     !0, !3
         22        FETCH_DIM_R                                      ~16     ~15, !2
         23        CONCAT                                           ~17     ~16, '+'
         24        ECHO                                                     ~17
   13    25        PRE_INC                                                  !3
         26    >   IS_SMALLER_OR_EQUAL                                      !3, 3
         27      > JMPNZ                                                    ~19, ->21
   16    28    >   ECHO                                                     '%0A'
   12    29        PRE_INC                                                  !2
         30    >   IS_SMALLER_OR_EQUAL                                      !2, 3
         31      > JMPNZ                                                    ~21, ->19
   17    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.84 ms | 1011 KiB | 14 Q