#23962 [Opn->Bgs]: method_exists doesn't work on classes

From: Date: Thu, 11 Sep 2003 01:06:14 +0000
Subject: #23962 [Opn->Bgs]: method_exists doesn't work on classes
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969356266@lists.php.net to get a copy of this message
ID: 23962 Updated by: hholzgra@php.net Reported By: wagner at globalpark dot de -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: my Browser PHP Version: 4CVS-2003-06-02 (stable) New Comment: "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 ... Previous Comments: ------------------------------------------------------------------------ [2003-06-02 14:22:43] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23962&edit=1

« previous php.doc (#969356266) next »