3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sortAry[] = '1.php'; $sortAry[] = '12.php'; $newLogs[] = "aa 1.php"; $newLogs[] = "bb 1.php"; array_multisort($sortAry, $newLogs); var_dump($sortAry, $newLogs);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Z4RTM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $sortAry, !1 = $newLogs
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  '1.php'
    4     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  '12.php'
    6     4        ASSIGN_DIM                                               !1
          5        OP_DATA                                                  'aa+1.php'
    7     6        ASSIGN_DIM                                               !1
          7        OP_DATA                                                  'bb+1.php'
    9     8        INIT_FCALL                                               'array_multisort'
          9        SEND_REF                                                 !0
         10        SEND_REF                                                 !1
         11        DO_ICALL                                                 
   12    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.77 ms | 1394 KiB | 17 Q