3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.42 ms | 1394 KiB | 19 Q