3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ary_main = array(0,8,4,7,6,2,4,8); $args[] = array(1,8,3,7,2,2,4,1); $args[] = SORT_ASC; $args[] = array(6,5,3,2,5,7,5,3); $args[] = SORT_DESC; $args[] =& $ary_main; call_user_func_array("array_multisort", $args); foreach($ary_main as $value) { echo $value,"\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
2 jumps found. (Code = 78) Position 1 = 17, Position 2 = 20
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/cUCvk
function name:  (null)
number of ops:  22
compiled vars:  !0 = $ary_main, !1 = $args, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN_DIM                                               !1
          2        OP_DATA                                                  <array>
    7     3        ASSIGN_DIM                                               !1
          4        OP_DATA                                                  4
    8     5        ASSIGN_DIM                                               !1
          6        OP_DATA                                                  <array>
    9     7        ASSIGN_DIM                                               !1
          8        OP_DATA                                                  3
   10     9        FETCH_DIM_W                                      $8      !1
         10        ASSIGN_REF                                               $8, !0
   13    11        INIT_FCALL                                               'array_multisort'
         12        SEND_ARRAY                                               !1
         13        CHECK_UNDEF_ARGS                                         
         14        DO_FCALL                                      0          
   15    15      > FE_RESET_R                                       $11     !0, ->20
         16    > > FE_FETCH_R                                               $11, !2, ->20
   17    17    >   ECHO                                                     !2
         18        ECHO                                                     '%0A'
   15    19      > JMP                                                      ->16
         20    >   FE_FREE                                                  $11
   18    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1395 KiB | 15 Q