php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41571 ReflectionFunctionAbstract class: missing documentation
Submitted: 2007-06-02 21:03 UTC Modified: 2007-08-17 04:53 UTC
From: salsi at icosaedro dot it Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2007-06-02 21:03 UTC] salsi at icosaedro dot it
Description:
------------
The class ReflectionFunctionAbstract isn't documented at all.  A comment to the ReflectionMethod class lets me to guess this class be defined as follows:

abstract class ReflectionFunctionAbstract
{
    private void function __clone()
    public string function getName()
    public bool function isInternal()
    public bool function isUserDefined()
    public string function getFileName()
    public int function getStartLine()
    public int function getEndLine()
    public string function getDocComment()
    public array[string]mixed function getStaticVariables()
    public bool function returnsReference()
    public array[int]ReflectionParameter function getParameters()
    public int function getNumberOfParameters()
    public int function getNumberOfRequiredParameters()
}

The comment inside ReflectionMethod

    // Inherited from ReflectionFunction

should the read

    // Inherited from ReflectionFunctionAbstract



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 04:53 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"Parent class ReflectionFunctionAbstract has the same methods except invoke(), invokeArgs(), export() and isDisabled()." Comment fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 20:00:02 2025 UTC