Re: [PHP] Call by reference to function arguments

2003-07-07 Thread David Otton
On Mon, 7 Jul 2003 23:37:58 +0100, you wrote: >On Mon, Jul 07, 2003 at 06:20:42PM +0100, David Otton wrote: >> On Mon, 7 Jul 2003 17:36:26 +0100, you wrote: >> >> >I want to write a function (as I have written in several other languages) that >> >obtains it's arguments dynamically (using func_get

Re: [PHP] Call by reference to function arguments

2003-07-07 Thread Alain Williams
On Mon, Jul 07, 2003 at 06:20:42PM +0100, David Otton wrote: > On Mon, 7 Jul 2003 17:36:26 +0100, you wrote: > > >I want to write a function (as I have written in several other languages) that > >obtains it's arguments dynamically (using func_get_arg()) and then assigns to that > >argument. Think

Re: [PHP] Call by reference to function arguments

2003-07-07 Thread David Otton
On Mon, 7 Jul 2003 17:36:26 +0100, you wrote: >I want to write a function (as I have written in several other languages) that >obtains it's arguments dynamically (using func_get_arg()) and then assigns to that >argument. Think of the way that scanf() works -- that sort of thing. > >I have distille

[PHP] Call by reference to function arguments

2003-07-07 Thread Alain Williams
Hi, I want to write a function (as I have written in several other languages) that obtains it's arguments dynamically (using func_get_arg()) and then assigns to that argument. Think of the way that scanf() works -- that sort of thing. I have distilled what I want to do in the code below. foo adds