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
 [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

Pull Requests

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: Fri Oct 11 04:01:27 2024 UTC