3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.57 ms | 1394 KiB | 17 Q