3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arguments = array('2014-05-06'); $x = call_user_method_array(array('DateTime', '__construct'), $arguments); echo $x->format('d.m.Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EcJOH
function name:  (null)
number of ops:  11
compiled vars:  !0 = $arguments, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL_BY_NAME                                       'call_user_method_array'
          2        SEND_VAL_EX                                              <array>
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $3      
          5        ASSIGN                                                   !1, $3
    5     6        INIT_METHOD_CALL                                         !1, 'format'
          7        SEND_VAL_EX                                              'd.m.Y'
          8        DO_FCALL                                      0  $5      
          9        ECHO                                                     $5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.47 ms | 1384 KiB | 13 Q