Re: Run PHP code from extension
| From: | Xavier De Cock | Date: | Tue, 26 Aug 2008 10:21:32 +0000 |
| Subject: | Re: Run PHP code from extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5705@lists.php.net to get a copy of this message | ||
Hello,
You are searching for this function: call_user_function_ex
For an eval, i don't know how to do it.
Hope it could be usefull
Xavier.
Le mardi 26 août 2008 à 10:47 +0200, Adam Klobukowski a écrit :
> Hello
>
> Is it possible to execute PHP code from inside of extension? Example C
> code:
>
> execute_php ("$server='localhost'; mysql_pconnect ($server)");
>
> Is it possible? Or, is it possible to call functions provided by other
> extensions from an extension (extension A wants to call PHP function
> provided by extension B).
>
> Adam Klobukowski
>
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc
Attachment: [application/pgp-signature] Ceci est une partie de message numériquement signée signature.asc