3v4l.org

run code in 300+ PHP versions simultaneously
<?php $$date_start['2017-06-08 00:00:00']; $date = DateTime::createFromFormat('Y-m-d', $date_start); echo $date->format('d/m'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uFTsZ
function name:  (null)
number of ops:  13
compiled vars:  !0 = $date_start, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      local               ~2      !0
          1        FETCH_DIM_R                                      ~3      ~2, '2017-06-08+00%3A00%3A00'
          2        FREE                                                     ~3
    3     3        INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          4        SEND_VAL                                                 'Y-m-d'
          5        SEND_VAR                                                 !0
          6        DO_FCALL                                      0  $4      
          7        ASSIGN                                                   !1, $4
    5     8        INIT_METHOD_CALL                                         !1, 'format'
          9        SEND_VAL_EX                                              'd%2Fm'
         10        DO_FCALL                                      0  $6      
         11        ECHO                                                     $6
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.87 ms | 1393 KiB | 13 Q