3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo DateTime::createFromFormat('m-Y', '01-2017')->format('t-m-Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iCIVZ
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                                                 'm-Y'
          2        SEND_VAL                                                 '01-2017'
          3        DO_FCALL                                      0  $0      
          4        INIT_METHOD_CALL                                         $0, 'format'
          5        SEND_VAL_EX                                              't-m-Y'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.7 ms | 1384 KiB | 13 Q