php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36368 error in example of get_class_methods
Submitted: 2006-02-11 18:45 UTC Modified: 2006-02-11 21:45 UTC
From: scripts at freq9 dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2006-02-11 18:45 UTC] scripts at freq9 dot de
Description:
------------
There is a small mistake in the example of get_class_methods. It should be:

> $class_methods = get_class_methods('myclass');

instead of:

> $class_methods = get_class_methods('my_object');

Jan Pieper 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-11 21:45 UTC] nlopess@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.
 [2020-02-07 06:11 UTC] phpdocbot@php.net
Automatic comment on behalf of nlopess
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=5fc366af1aa8131baf4f23532cfcc49d61d4a9d3
Log: fix #36368: incorrect use of myclass vs myobject
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 04 13:00:02 2025 UTC