php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sandervv at gmail dot com
New email:
PHP Version: OS:

 

 [2009-10-16 12:26 UTC] sandervv at gmail dot com
Description:
------------
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...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-13 20:34 UTC] vrana@php.net
We have other ways to spot undocumented functions and to integrate user notes.
 [2009-11-13 20:36 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290691
Log: Document filter parameter (bug #49899)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 11:02:27 2025 UTC