3v4l.org

run code in 300+ PHP versions simultaneously
<?php Class x { static $x; Function z(){}} x::$x = new x; x::$x->z();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2lbQA
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'x'
          1        DO_FCALL                                      0          
          2        ASSIGN_STATIC_PROP                                       'x', 'x'
          3        OP_DATA                                                  $1
    8     4        FETCH_STATIC_PROP_R          unknown             ~3      'x'
          5        INIT_METHOD_CALL                                         ~3, 'z'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Class x:
Function z:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2lbQA
function name:  z
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                   null

End of function z

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.19 ms | 1393 KiB | 13 Q