3v4l.org

run code in 300+ PHP versions simultaneously
<?php class bla { static $baz = "real property"; } $foo = array(); $foo['bar'] = "bla"; echo $foo['bar']::$baz;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RuaiN
function name:  (null)
number of ops:  8
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, <array>
    8     1        ASSIGN_DIM                                               !0, 'bar'
          2        OP_DATA                                                  'bla'
    9     3        FETCH_DIM_R                                      ~3      !0, 'bar'
          4        FETCH_CLASS                                   0  $4      ~3
          5        FETCH_STATIC_PROP_R          unknown             ~5      'baz'
          6        ECHO                                                     ~5
          7      > RETURN                                                   1

Class bla: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.99 ms | 1396 KiB | 13 Q