3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.53 ms | 2832 KiB | 15 Q