3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timezone = new DateTimeZone('Europe/Rome'); $start_date = new DateTime("now", $timezone); $trial_date = new DateTime("+30 days", $timezone); var_dump($start_date, $trial_date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RfEBM
function name:  (null)
number of ops:  19
compiled vars:  !0 = $timezone, !1 = $start_date, !2 = $trial_date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'DateTimeZone'
          1        SEND_VAL_EX                                              'Europe%2FRome'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $3
    4     4        NEW                                              $6      'DateTime'
          5        SEND_VAL_EX                                              'now'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $6
    5     9        NEW                                              $9      'DateTime'
         10        SEND_VAL_EX                                              '%2B30+days'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0          
         13        ASSIGN                                                   !2, $9
    7    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !1
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.03 ms | 1009 KiB | 14 Q