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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1392 KiB | 13 Q