3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a1=array("10","1","100"); $a2=array("5","20","2"); array_multisort($a1,SORT_ASC,$a2,SORT_DESC); print_r($a1); print_r($a2); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IjmAO
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a1, !1 = $a2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'array_multisort'
          3        SEND_REF                                                 !0
          4        SEND_VAL                                                 4
          5        SEND_REF                                                 !1
          6        SEND_VAL                                                 3
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    6    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.35 ms | 1394 KiB | 17 Q