3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = array_fill_keys( range('a', 'j'), range(0, 105, 7) ); array_walk($array, sort(...)); var_export($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HaU42
function name:  (null)
number of ops:  24
compiled vars:  !0 = $array
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'array_fill_keys'
    4     1        INIT_FCALL                                                   'range'
          2        SEND_VAL                                                     'a'
          3        SEND_VAL                                                     'j'
          4        DO_ICALL                                             $1      
          5        SEND_VAR                                                     $1
    5     6        INIT_FCALL                                                   'range'
          7        SEND_VAL                                                     0
          8        SEND_VAL                                                     105
          9        SEND_VAL                                                     7
         10        DO_ICALL                                             $2      
         11        SEND_VAR                                                     $2
    3    12        DO_ICALL                                             $3      
         13        ASSIGN                                                       !0, $3
    8    14        INIT_FCALL                                                   'array_walk'
         15        SEND_REF                                                     !0
         16        INIT_FCALL                                                   'sort'
         17        CALLABLE_CONVERT                                     ~5      
         18        SEND_VAL                                                     ~5
         19        DO_ICALL                                                     
   10    20        INIT_FCALL                                                   'var_export'
         21        SEND_VAR                                                     !0
         22        DO_ICALL                                                     
         23      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.01 ms | 1621 KiB | 18 Q