3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (new \DateTime())->add(new DateInterval('PT03H00S'));
based on 6K1uU
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/48apZ
function name:  (null)
number of ops:  10
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   NEW                                              $0      :-6
         1        DO_FCALL                                      0          
         2        INIT_METHOD_CALL                                         $0, 'add'
         3        NEW                                              $2      :-2
         4        SEND_VAL_EX                                              'PT03H00S'
         5        DO_FCALL                                      0          
         6        SEND_VAR_NO_REF                               0          $2
         7        DO_FCALL                                      0  $4      
         8        ECHO                                                     $4
         9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0