Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93257 invoked by uid 1010); 25 Feb 2005 21:07:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93106 invoked from network); 25 Feb 2005 21:07:30 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 25 Feb 2005 21:07:30 -0000 X-Host-Fingerprint: 83.97.50.139 jan.prima.de FreeBSD 4.6-4.9 Received: from ([83.97.50.139:4631] helo=jan.prima.de) by pb1.pair.com (ecelerity HEAD r(5124)) with SMTP id 6B/BD-51537-7D77F124 for ; Fri, 25 Feb 2005 14:09:12 -0500 Received: from BAUMBART (pD95F8AC9.dip.t-dialin.net [::ffff:217.95.138.201]) (IDENT: HydraIRC, AUTH: LOGIN tobi) by jan.prima.de with esmtp; Fri, 25 Feb 2005 19:09:07 +0000 Date: Fri, 25 Feb 2005 20:09:00 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <17177692.20050225200900@marcus-boerger.de> To: Chris Cranford CC: internals@lists.php.net, php-general@lists.php.net In-Reply-To: <002801c51ad8$7f2a8bc0$71f69d44@setechusa.com> References: <002801c51ad8$7f2a8bc0$71f69d44@setechusa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP Extensions & Pass-By-Reference From: helly@php.net (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 variables by reference to my function without enabling call-time pass > by reference in the PHP.INI file? > Thanks -- Best regards, Marcus mailto:helly@php.net