3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static $bar; } Foo::$bar = 'baz'; echo "testing {Foo::$bar}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rb8sR
function name:  (null)
number of ops:  7
compiled vars:  !0 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN_STATIC_PROP                                       'bar', 'Foo'
          1        OP_DATA                                                  'baz'
    9     2        ROPE_INIT                                     3  ~3      'testing+%7BFoo%3A%3A'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_END                                      2  ~2      ~3, '%7D'
          5        ECHO                                                     ~2
          6      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.89 ms | 1392 KiB | 13 Q