php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 - 1 = ?
Subscribe to this entry?

 
 [2009-06-30 09:39 UTC] fhardy at noparking dot net
Description:
------------
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:
----------------
OK

Actual result:
--------------
KO

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-24 00:17 UTC] hradtke@php.net
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: Thu Apr 25 10:01:29 2024 UTC