3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = new DateTime('2013-10-25 19:45'); $d_tomorrow = new DateTime ( 'tomorrow +1day'); echo $d_tomorrow->format('d.m.Y H:i');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cX544
function name:  (null)
number of ops:  13
compiled vars:  !0 = $date1, !1 = $d_tomorrow
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              '2013-10-25+19%3A45'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    3     4        NEW                                              $5      'DateTime'
          5        SEND_VAL_EX                                              'tomorrow+%2B1day'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $5
    4     8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              'd.m.Y+H%3Ai'
         10        DO_FCALL                                      0  $8      
         11        ECHO                                                     $8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.33 ms | 1392 KiB | 13 Q