Reply to Re: [PHP] PHP Extensions & Pass-By-Reference

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация