3v4l.org

run code in 300+ PHP versions simultaneously
<?php class x { public static function z(){} public function y(){} } $x = new x; $x->z(); x::y();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YrsOW
function name:  (null)
number of ops:  8
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'x'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        INIT_METHOD_CALL                                         !0, 'z'
          4        DO_FCALL                                      0          
   11     5        INIT_STATIC_METHOD_CALL                                  'x', 'y'
          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/YrsOW
function name:  z
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   null

End of function z

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

End of function y

End of class x.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.53 ms | 1384 KiB | 13 Q