Posted by Jonas on 10/13/21 11:35
hio. i have the following problem:
class dummyclass
{
function foo()
{ return true; }
}
init class with
$dc = new dummyclass;
doing things like "function_exists('$dc->foo')" result unsuccessfully
I also tried to declare a function "fn_exists" inside the class and
checked the existence with '$this->foo', but unfortunately same result
occurred.
does anybody know what to do?
Navigation:
[Reply to this message]
|