Re: [PHP-DEV] Specifying pass-by-ref parameters

[email protected] (Wez Furlong) Fri, 7 Mar 2003 09:53:00 +0000 (GMT)
Newsgroups php.dev
Message-ID <[email protected]>
Look at the function table in basic_functions.c:

{ PHP_FE(nameoffunc),   NULL }
                        ^^^^
This NULL can be replaced with an array that specifies BYREF_FORCE for
the relevant arguments; look for first_and_second__args_force_ref for an
exmaple.

--Wez.

On Fri, 7 Mar 2003, l0t3k wrote:

> im a bit rusty, so could someone explain how i would set up a function to
> accept a byref parameter ? no zend api documentation i ran across is clear
> on this issue.
>
> l0t3k
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>