Re: PHP Extensions & Pass-By-Reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux