3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function hello() { echo "Hello World\n"; } } $y[0] = 'hello'; A::$y[0]();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ASOqC
function name:  (null)
number of ops:  7
compiled vars:  !0 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  'hello'
   10     2        FETCH_STATIC_PROP_R          unknown             ~2      'y'
          3        FETCH_DIM_R                                      ~3      ~2, 0
          4        INIT_DYNAMIC_CALL                                        ~3
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Class A:
Function hello:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ASOqC
function name:  hello
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ECHO                                                     'Hello+World%0A'
    7     1      > RETURN                                                   null

End of function hello

End of class A.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.54 ms | 1384 KiB | 13 Q