Is it possble to do something like:
If so how? I try $theObejct->theFunction and it doesnt work, but $theObject->someFunction() does.
Thanks for the help!
PHP:
$theObject = new someObject;
$theFunction = "someFunction";
$theObject->$theFunction; //same as $theObject->someFunction()
If so how? I try $theObejct->theFunction and it doesnt work, but $theObject->someFunction() does.
Thanks for the help!