3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo \DateTime::createFromFormat('d/m/Y', '01/07/2017')->format('YY-mm-dd H:i:s');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7h7iT
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          1        SEND_VAL                                                 'd%2Fm%2FY'
          2        SEND_VAL                                                 '01%2F07%2F2017'
          3        DO_FCALL                                      0  $0      
          4        INIT_METHOD_CALL                                         $0, 'format'
          5        SEND_VAL_EX                                              'YY-mm-dd+H%3Ai%3As'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.4 ms | 1392 KiB | 13 Q