php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #2813 function_exists with class methods ?
Submitted: 1999-11-24 02:00 UTC Modified: 1999-11-24 10:37 UTC
From: christophe dot massiot at mail dot dotcom dot fr Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 3 OS: LinuxPPC 1999
Private report: No CVE-ID: None
 [1999-11-24 02:00 UTC] christophe dot massiot at mail dot dotcom dot fr
Hello,

Could there be a way to know whether a particular method is supplied
by a class ? function_exists($class->my_method) always returns
false.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-24 10:37 UTC] thies at cvs dot php dot net
try: proto bool method_exists(object object, string method)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 15 15:00:01 2026 UTC