Howdy,
One thing that would make it much easier for Zend/PHP to integrate with other runtime environments, is letting PHP_FUNCTION() functions accept the argument stack as a parameter, and then having the utility libraries, accept and manipulate those parameters. For 90% of the functions (certainly for the external libraries), this would allow the functions in libphp to be called without an execution environment.
Would it be possible to add that parameter to the engine and change the call semantics of parse_parameters to allow for direct argument access?
-Sterling
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?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109