|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #49899 Add some documentation (from the notes)
Submitted: 2009-10-16 12:26 UTC Modified: 2009-11-13 20:34 UTC
From: sandervv at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sandervv at gmail dot com
New email:
PHP Version: OS:


 [2009-10-16 12:26 UTC] sandervv at gmail dot com
Add some documentation to the reflectionclass.getmethods method

Reproduce code:
From manual page: reflectionclass.getmethods#Description
The undocumented filter parameter is pretty straightforward:
its one of:

const integer ReflectionMethod::IS_STATIC = 1 ;
const integer ReflectionMethod::IS_PUBLIC = 256 ;
const integer ReflectionMethod::IS_PROTECTED = 512 ;
const integer ReflectionMethod::IS_PRIVATE = 1024 ;
const integer ReflectionMethod::IS_ABSTRACT = 2 ;
const integer ReflectionMethod::IS_FINAL = 4 ;

and restrict the array returned to those methods matching the filter type...


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-13 20:34 UTC]
We have other ways to spot undocumented functions and to integrate user notes.
 [2009-11-13 20:36 UTC]
Automatic comment from SVN on behalf of vrana
Log: Document filter parameter (bug #49899)
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 24 08:01:23 2021 UTC