3v4l.org

run code in 300+ PHP versions simultaneously
<?php // $a = array(a => 'kaushik', b => 'thirthappa'); echo '--------------'; echo $a; echo $a->a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BEorR
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   FETCH_CONSTANT                                   ~1      'a'
          1        INIT_ARRAY                                       ~2      'kaushik', ~1
          2        FETCH_CONSTANT                                   ~3      'b'
          3        ADD_ARRAY_ELEMENT                                ~2      'thirthappa', ~3
          4        ASSIGN                                                   !0, ~2
    7     5        ECHO                                                     '--------------'
    8     6        ECHO                                                     !0
    9     7        FETCH_OBJ_R                                      ~5      !0, 'a'
          8        ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.2 ms | 1392 KiB | 13 Q