3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'pippo', 'franco', 'marco' => 'polo', 'ciao' ); print_r($array); reset($array); asort($array, SORT_NUMERIC); reset($array); print_r($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rg3rI
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   12     4        INIT_FCALL                                               'reset'
          5        SEND_REF                                                 !0
          6        DO_ICALL                                                 
   13     7        INIT_FCALL                                               'asort'
          8        SEND_REF                                                 !0
          9        SEND_VAL                                                 1
         10        DO_ICALL                                                 
   14    11        INIT_FCALL                                               'reset'
         12        SEND_REF                                                 !0
         13        DO_ICALL                                                 
   16    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1394 KiB | 19 Q