|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58741 ReflectionMethod::getParemeters() not return parameters of memcache methods
Submitted: 2009-06-30 09:39 UTC Modified: 2010-03-24 00:17 UTC
From: fhardy at noparking dot net Assigned:
Status: Wont fix Package: memcache (PECL)
PHP Version: 5.2.10 OS: freeBSD 7.1
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: fhardy at noparking dot net
New email:
PHP Version: OS:


 [2009-06-30 09:39 UTC] fhardy at noparking dot net
ReflectionMethod::getParemeters() does not return parameters of
memcache methods.
See php bug #48736.

Reproduce code:
$method = new reflectionMethod('memcache', 'set');
echo (sizeof($method->getParameters()) ? 'OK' : 'KO');

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-24 00:17 UTC]
I believe this is the expected behavior for OO extensions and core.  I tried to do the same thing with Exception::getMessage() and PDO::commit() and got the same results.

If you have seen this work with other extensions or core OO methods, then please reopen the ticket with an example.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 18:01:30 2024 UTC