note 8612 deleted from function_exists by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Sat, 23 Sep 2000 12:01:01 +0000 |
| Subject: | note 8612 deleted from function_exists by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5334@lists.php.net to get a copy of this message | ||
This is all well and good but how does one check for an existance of a function that is located
within a class?
function_exists("classname->functionname"); doesn't work, neither does the
functionname on it's own (obviously) I am assuming that the function names get stored in a
symbol table somewhere and when it lies within a class it get prefixed with the class name and
probably some other stuff ... like classname_blahblahblah_functionname. Anyone know the format of
this, cos I assume function_exists just does a lookup in the function symbol table. So if we know
the format then we can call function_exists with it, yeah. Alot of assumptions I am afraid, and no
answers, I would really appreciate if someone could sort this one out form me.