3v4l.org

run code in 300+ PHP versions simultaneously
<?php $last30Days = getdate(strtotime("30 days ago", $today[0])); var_dump($last30Days);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jTAad
function name:  (null)
number of ops:  13
compiled vars:  !0 = $last30Days, !1 = $today
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getdate'
          1        INIT_FCALL                                               'strtotime'
          2        SEND_VAL                                                 '30+days+ago'
          3        FETCH_DIM_R                                      ~2      !1, 0
          4        SEND_VAL                                                 ~2
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
    4     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.87 ms | 1394 KiB | 19 Q