3v4l.org

run code in 300+ PHP versions simultaneously
<?php // I do class Example { public function methodNameHere() { } } // instead of class Example { public function methodNameHere() { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FgfUW
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   DECLARE_CLASS                                            'example'
   18     1      > RETURN                                                   1

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

End of function methodnamehere

End of class Example.

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

End of function methodnamehere

End of class Example.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.91 ms | 1392 KiB | 13 Q