Posted by Richard Lynch on 10/04/02 11:09
Chris Cranford wrote:
> I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to
> pass variables by reference to my function without enabling call-time pass
> by reference in the PHP.INI file?
I think the definition in the C syntax of PHP_FUNCTION will do that for you.
You'll probably need to use some ZEND_xxx macro.
Check out simple functions (error_log springs to mind) that use pass by
reference.
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|