3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new \DateTime(sprintf('%s.%s.%s', 10, 11, date('Y'))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3AM4M
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        NEW                                              $0      'DateTime'
          2        INIT_FCALL                                               'sprintf'
          3        SEND_VAL                                                 '%25s.%25s.%25s'
          4        SEND_VAL                                                 10
          5        SEND_VAL                                                 11
          6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'Y'
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        DO_ICALL                                         $2      
         11        SEND_VAR_NO_REF_EX                                       $2
         12        DO_FCALL                                      0          
         13        SEND_VAR                                                 $0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.09 ms | 1398 KiB | 19 Q