php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #23962 method_exists doesn't work on classes
Submitted: 2003-06-02 14:22 UTC Modified: 2003-09-10 21:06 UTC
From: wagner at globalpark dot de Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4CVS-2003-06-02 (stable) OS: my Browser
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: wagner at globalpark dot de
New email:
PHP Version: OS:

 

 [2003-06-02 14:22 UTC] wagner at globalpark dot de
method_exists works on objects, not classes, like the 
documentation says. There's a difference. 
 
Also, I think there are ways for methods to be get into an 
object without belonging to the object's class. 
Aggregation? 
 
Seen in online documentation on 
http://www.php.net/manual/en/function.method-exists.php 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-10 21:06 UTC] hholzgra@php.net
"This function returns TRUE if the method given by method_name has been defined for the given object, FALSE otherwise."

i think this is clear enough ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 13:01:27 2024 UTC