3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = range(date("Y") - 20, date("Y")); var_dump(array_combine($range, $range));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cocP9
function name:  (null)
number of ops:  20
compiled vars:  !0 = $range
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'range'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y'
          3        DO_ICALL                                         $1      
          4        SUB                                              ~2      $1, 20
          5        SEND_VAL                                                 ~2
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    3    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'array_combine'
         14        SEND_VAR                                                 !0
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.25 ms | 1386 KiB | 21 Q