3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dates = [ 7 => time() + (86400 * 7), 3 => time() + (86400 *3), 1 => time() + 86400 ]; var_dump($dates);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mX9JQ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $dates
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $1      
          2        ADD                                              ~2      $1, 604800
          3        INIT_ARRAY                                       ~3      ~2, 7
          4        INIT_FCALL                                               'time'
          5        DO_ICALL                                         $4      
          6        ADD                                              ~5      $4, 259200
          7        ADD_ARRAY_ELEMENT                                ~3      ~5, 3
          8        INIT_FCALL                                               'time'
          9        DO_ICALL                                         $6      
         10        ADD                                              ~7      $6, 86400
         11        ADD_ARRAY_ELEMENT                                ~3      ~7, 1
         12        ASSIGN                                                   !0, ~3
    5    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.03 ms | 1394 KiB | 17 Q