3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo new \DateTime(); echo new \DateTime('+14 day');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aEtX6
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      'DateTime'
          1        DO_FCALL                                      0          
          2        ECHO                                                     $0
    4     3        NEW                                              $2      'DateTime'
          4        SEND_VAL_EX                                              '%2B14+day'
          5        DO_FCALL                                      0          
          6        ECHO                                                     $2
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.4 ms | 1392 KiB | 13 Q