3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Sniff { public function process(File $phpcsFile, $stackPtr); } class MySniff implements Sniff { public function process(File $phpcsFile, $stackPtr) : ?int { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I0NaA
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   DECLARE_CLASS                                            'mysniff'
   11     1      > RETURN                                                   1

Class Sniff:
Function process:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I0NaA
function name:  process
number of ops:  3
compiled vars:  !0 = $phpcsFile, !1 = $stackPtr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2      > RETURN                                                   null

End of function process

End of class Sniff.

Class MySniff:
Function process:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I0NaA
function name:  process
number of ops:  4
compiled vars:  !0 = $phpcsFile, !1 = $stackPtr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   10     2        VERIFY_RETURN_TYPE                                       
          3      > RETURN                                                   null

End of function process

End of class MySniff.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.71 ms | 1393 KiB | 13 Q