Re: PHP 4.0 Bug #4769: Params passed by reference in extension functions

From: Date: Fri, 02 Jun 2000 10:29:55 +0000
Subject: Re: PHP 4.0 Bug #4769: Params passed by reference in extension functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-20034@lists.php.net to get a copy of this message
>> i'm working on a functions (sscanf/fscanf) to be registered with the >> scripting engine which requires that variables be passed by >> reference. this is easily done in user-land (&$variable), but there >> seems to be no obvious way to inform the compiler that the >> parameters accepted by c level functions should be pushed by ref. My wild guess is that you can just modify that variable. Just take care you use right convert_ functions, etc. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#20034) next »