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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fhardy at noparking dot net
New email:
PHP Version: OS:

 

 [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: Sat Dec 21 15:01:29 2024 UTC