Doc #64591 [Opn->Csd]: ReflectionClass::getMethods() accepts an integer, not a string
Edit report at https://bugs.php.net/bug.php?id=64591&edit=1
ID: 64591
Updated by: philip@php.net
Reported by: benjamin dot morel at strictcoding dot co dot uk
Summary: ReflectionClass::getMethods() accepts an integer,
not a string
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: philip
Block user comment: N
Private report: N
New Comment:
This was fixed in the meantime:
http://svn.php.net/viewvc/phpdoc/en/trunk/reference/reflection/reflectionclass/get
methods.xml?r1=325878&r2=330252
Thank you for the bug report.
Previous Comments:
------------------------------------------------------------------------
[2013-04-05 15:19:20] benjamin dot morel at strictcoding dot co dot uk
Description:
------------
Documentation page: http://www.php.net/manual/en/reflectionclass.getmethods.php
ReflectionClass::getMethods() accepts the following constants:
- ReflectionMethod::IS_STATIC
- ReflectionMethod::IS_PUBLIC
- etc.
Or any combination of them. These are all integers, thus the documentation is
wrong.
Expected result:
----------------
public array ReflectionClass::getMethods ([ int $filter ] )
Actual result:
--------------
public array ReflectionClass::getMethods ([ string $filter ] )
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64591&edit=1
Thread (2 messages)