3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [ "3" => "aBc", "ab" => "abc12", "lkT" => 2, "65" => "Abc", 45 => "test", "This" => "is this", "2" => "abc", false => "abc012", " " => 22.22, ]; $array2 = [ "5" => "abc", "2" => "bca", "1" => "?", "33" => "he11o", ]; print_r($array1); print_r($array2); array_multisort($array1, SORT_ASC, SORT_NUMERIC, $array2, SORT_DESC, SORT_NATURAL ); print_r($array1); print_r($array2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/u0Ft0
function name:  (null)
number of ops:  23
compiled vars:  !0 = $array1, !1 = $array2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   14     1        ASSIGN                                                   !1, <array>
   21     2        INIT_FCALL                                               'print_r'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
   22     5        INIT_FCALL                                               'print_r'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
   24     8        INIT_FCALL                                               'array_multisort'
          9        SEND_REF                                                 !0
         10        SEND_VAL                                                 4
         11        SEND_VAL                                                 1
   25    12        SEND_REF                                                 !1
         13        SEND_VAL                                                 3
         14        SEND_VAL                                                 6
   24    15        DO_ICALL                                                 
   28    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                                 
   29    19        INIT_FCALL                                               'print_r'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.41 ms | 1437 KiB | 15 Q