3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.77 ms | 3368 KiB | 13 Q