3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[0] = new \DateTime(); echo $a[0]->format('H:i:s');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/icgZm
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        NEW                                              $3      'DateTime'
          2        DO_FCALL                                      0          
          3        ASSIGN_DIM                                               !0, 0
          4        OP_DATA                                                  $3
    4     5        FETCH_DIM_R                                      ~5      !0, 0
          6        INIT_METHOD_CALL                                         ~5, 'format'
          7        SEND_VAL_EX                                              'H%3Ai%3As'
          8        DO_FCALL                                      0  $6      
          9        ECHO                                                     $6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.47 ms | 1397 KiB | 13 Q