3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = "Zaphod Beeblebrox"; echo $name['No Panic']; $date = new \DateTime('a');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tD1bQ
function name:  (null)
number of ops:  8
compiled vars:  !0 = $name, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Zaphod+Beeblebrox'
    4     1        FETCH_DIM_R                                      ~3      !0, 'No+Panic'
          2        ECHO                                                     ~3
    6     3        NEW                                              $4      'DateTime'
          4        SEND_VAL_EX                                              'a'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $4
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.87 ms | 1392 KiB | 13 Q