[PHP] Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Brad House
look at http://cvs.php.net/co.php/php-src/ext/mcve/mcve.c?r=1.28.2.2 the m_completeauthorizations function. -Brad 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

[PHP] Re: [PHP-DEV] PHP Extensions & Pass-By-Reference

2005-02-25 Thread Marcus Boerger
Hello Chris, you need to define that signature of your functions by supplying ZEND_ARG_INFO's to them. look at ZEND_API.h file for those macros. marcus Friday, February 25, 2005, 2:22:39 AM, you wrote: > I have a PHP_FUNCTION() defined in my PHP extension. How am I suppose to > pass variable