3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { static public $bar = "Bar"; } class Bar { static public $baz = "Baz"; } echo Foo::$bar::$baz; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KDevT
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   FETCH_STATIC_PROP_R              unknown             ~0      'bar'
          1        FETCH_CLASS                                       0  $1      ~0
          2        FETCH_STATIC_PROP_R              unknown             ~2      'baz'
          3        ECHO                                                         ~2
   11     4      > RETURN                                                       1

Class Foo: [no user functions]
Class Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.35 ms | 2643 KiB | 13 Q