Re: breaking the engine in spite of itself
| From: | Sterling Hughes | Date: | Mon, 21 Apr 2003 13:04:17 +0000 |
| Subject: | Re: breaking the engine in spite of itself | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-997@lists.php.net to get a copy of this message | ||
On Mon, 2003-04-21 at 10:24, Stanislav Malyshev wrote:
> SH>> other runtime environments, is letting PHP_FUNCTION() functions accept
> SH>> the argument stack as a parameter, and then having the utility
> SH>> libraries, accept and manipulate those parameters. For 90% of the
> SH>> functions (certainly for the external libraries), this would allow the
> SH>> functions in libphp to be called without an execution environment.
>
> I'm sorry but I am missing what you need this for. Could you provide an
> example why would you need it - i.e. calling external library functions
> via PHP without PHP environment?
Compiling PHP down to CLR, then one could create a small wrapper which resolved PHP functions,
and called into the PHP library to provide access to them.
-Sterling