php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55869 Wrong example result
Submitted: 2011-10-07 18:02 UTC Modified: 2011-10-08 09:02 UTC
From: chusete at gmail dot com Assigned: rquadling (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: chusete at gmail dot com
New email:
PHP Version: OS:

 

 [2011-10-07 18:02 UTC] chusete at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/reflectionmethod.getmodifiers#refsect1-
reflectionmethod.getmodifiers-examples
---
Wrong result running example

Expected result:
----------------
Modifiers for method foo():
261
final public static
Modifiers for method bar():
65792
public

Actual result:
--------------
Modifiers for method foo():
261
final public static
Modifiers for method bar():
65792

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-08 09:02 UTC] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=317887
Log: Fixed example. Fixes bug#55869
 [2011-10-08 09:02 UTC] rquadling@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2011-10-08 09:02 UTC] rquadling@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 10:00:01 2026 UTC