3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new DateTime('d-m-Y'); echo $a;
based on QAB55
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EeUKf
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :-5
         1        SEND_VAL_EX                                              'd-m-Y'
         2        DO_FCALL                                      0          
         3        ASSIGN                                                   !0, $1
   4     4        ECHO                                                     !0
         5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0