Re: Calling other PHP functions from your extension
| From: | Andrei Zmievski | Date: | Mon, 17 Jun 2002 15:40:10 +0000 |
| Subject: | Re: Calling other PHP functions from your extension | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-85309@lists.php.net to get a copy of this message | ||
> And thanks for the additional head's up! I had to go read the zend api
> headers to get it working -- I think you're rigyt, call_user_function()
> is sufficient for me in this case. I just got phpinfo() working, I'll
> try getting eval() going in a few minutes.
eval() is actually a language construct that just happens to look like a
function. You won't be able to call it via call_user_function().
Instead, use zend_eval_string().
-Andrei http://www.gravitonic.com/