3v4l.org

run code in 500+ PHP versions simultaneously
<?php $time = '1899-12-30 19:30:00'; $dt = new DateTime($time); echo $dt->format('d F Y H:i:s');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fM22Z
function name:  (null)
number of ops:  10
compiled vars:  !0 = $time, !1 = $dt
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '1899-12-30+19%3A30%3A00'
    3     1        NEW                                                  $3      'DateTime'
          2        SEND_VAR_EX                                                  !0
          3        DO_FCALL                                          0          
          4        ASSIGN                                                       !1, $3
    4     5        INIT_METHOD_CALL                                             !1, 'format'
          6        SEND_VAL_EX                                                  'd+F+Y+H%3Ai%3As'
          7        DO_FCALL                                          0  $6      
          8        ECHO                                                         $6
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
140.17 ms | 2996 KiB | 13 Q