|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56568 method added by runkit_method_add not returned by get_class_methods
Submitted: 2005-09-30 03:48 UTC Modified: 2009-07-21 19:54 UTC
From: skissane at gmail dot com Assigned:
Status: Not a bug Package: runkit (PECL)
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
 [2005-09-30 03:48 UTC] skissane at gmail dot com
class Foo { }

should return:
     [0] => "bar"

instead it returns:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-27 19:17 UTC] pecl at stefan-marr dot de
No problem here on 

PHP 5.2.6-dev (cli) (built: Nov 13 2007 19:02:15) (DEBUG)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

returns as expected 

    [0] => bar
 [2009-07-21 19:54 UTC] pear dot neufeind at speedpartner dot de
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package -- 
the problem might already be fixed. Please download a new
version from

If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.

Also tested with current runkit and php 5.2.10. Works as expected. Please try with current versions and reopen if the bug still occurs for you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 04:03:38 2021 UTC