Re: Specifying pass-by-ref parameters
| From: | Wez Furlong | Date: | Fri, 07 Mar 2003 09:53:00 +0000 |
| Subject: | Re: Specifying pass-by-ref parameters | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94884@lists.php.net to get a copy of this message | ||
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
>
>
>