3v4l.org

run code in 300+ PHP versions simultaneously
<?php $AAA = 999; class A { static $f = 'AAA'; } echo "11${A::$f}22";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sEKd2
function name:  (null)
number of ops:  8
compiled vars:  !0 = $AAA
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 999
    9     1        ROPE_INIT                                     3  ~5      '11'
          2        FETCH_STATIC_PROP_R          unknown             ~2      'f'
          3        FETCH_R                      local               ~3      ~2
          4        ROPE_ADD                                      1  ~5      ~5, ~3
          5        ROPE_END                                      2  ~4      ~5, '22'
          6        ECHO                                                     ~4
          7      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.09 ms | 1392 KiB | 13 Q