Bug #4769 Updated: Params passed by reference in extension functions

From: Date: Fri, 04 Jan 2002 19:58:23 +0000
Subject: Bug #4769 Updated: Params passed by reference in extension functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75901@lists.php.net to get a copy of this message
ID: 4769 Updated by: jimw Reported By: clcollie@mindspring.com Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Linux Mandrake 7.0 PHP Version: 4.0.0 Release New Comment: the func_arg_types field of the function_entry structure makes it possible to force parameters to be passed by reference. (L0t3k <cshmoove@hotmail.com> pointed out this could be closed on php-dev.) Previous Comments: ------------------------------------------------------------------------ [2000-06-02 10:12:11] clcollie@mindspring.com 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. any guidance ? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=4769&edit=1

« previous php.dev (#75901) next »