3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('2006-12-12'); $date->modify('2014-10-11'); print_r( $date->format('Y-m-d H:i:s') );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1sdOQ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'DateTime'
          1        SEND_VAL_EX                                              '2006-12-12'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    4     4        INIT_METHOD_CALL                                         !0, 'modify'
          5        SEND_VAL_EX                                              '2014-10-11'
          6        DO_FCALL                                      0          
    6     7        INIT_FCALL                                               'print_r'
          8        INIT_METHOD_CALL                                         !0, 'format'
          9        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         10        DO_FCALL                                      0  $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.43 ms | 1394 KiB | 15 Q