3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); $date->format('Y-m-d H:i:s'); $date->modify('+1 minute'); echo $date;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GXisM
function name:  (null)
number of ops:  11
compiled vars:  !0 = $date
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :-5
         1        DO_FCALL                                      0          
         2        ASSIGN                                                   !0, $1
   4     3        INIT_METHOD_CALL                                         !0, 'format'
         4        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         5        DO_FCALL                                      0          
   5     6        INIT_METHOD_CALL                                         !0, 'modify'
         7        SEND_VAL_EX                                              '%2B1+minute'
         8        DO_FCALL                                      0          
   6     9        ECHO                                                     !0
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0