3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filters['date']['to'] = strtotime("-1 day",gmtime()); $filters['date']['from'] = strtotime("-7 day",gmtime()); echo date('r',$filters['date']['to']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7jKgn
function name:  (null)
number of ops:  26
compiled vars:  !0 = $filters
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '-1+day'
          2        INIT_FCALL_BY_NAME                                       'gmtime'
          3        DO_FCALL                                      0  $3      
          4        SEND_VAR                                                 $3
          5        DO_ICALL                                         $4      
          6        FETCH_DIM_W                                      $1      !0, 'date'
          7        ASSIGN_DIM                                               $1, 'to'
          8        OP_DATA                                                  $4
    4     9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '-7+day'
         11        INIT_FCALL_BY_NAME                                       'gmtime'
         12        DO_FCALL                                      0  $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                         $8      
         15        FETCH_DIM_W                                      $5      !0, 'date'
         16        ASSIGN_DIM                                               $5, 'from'
         17        OP_DATA                                                  $8
    5    18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'r'
         20        FETCH_DIM_R                                      ~9      !0, 'date'
         21        FETCH_DIM_R                                      ~10     ~9, 'to'
         22        SEND_VAL                                                 ~10
         23        DO_ICALL                                         $11     
         24        ECHO                                                     $11
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.2 ms | 1395 KiB | 17 Q