Re: [PHP] Re: PHP5 and pass by reference bug.

2004-07-16 Thread Curt Zirzow
* Thus wrote Daevid Vincent: > Yeah, I get what references are. The point is that when it was on the user > to decide, they could do it. Now that PHP5 makes you put the & in the > function declaration instead of the passing parameter, you don't know what > the user is going to send. Therefore it re

Re: [PHP] Re: PHP5 and pass by reference bug.

2004-07-16 Thread Justin Patrin
ince > passing add(&$x, &$y); is now invalid], it makes my function add basically > useless. > > > > > > -----Original Message----- > > From: Red Wingate [mailto:[EMAIL PROTECTED] > > Sent: Friday, July 16, 2004 5:35 PM > > To: [EMAIL PROTECTED] &

RE: [PHP] Re: PHP5 and pass by reference bug.

2004-07-16 Thread Daevid Vincent
gt; To: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP5 and pass by reference bug. > > Maybe you recheck the dokumentation on what exactly > referenzes are. Do > you expect the function to alter the string "something here" > and every- > time you later print the string with

[PHP] Re: PHP5 and pass by reference bug.

2004-07-16 Thread Red Wingate
Maybe you recheck the dokumentation on what exactly referenzes are. Do you expect the function to alter the string "something here" and every- time you later print the string within your script you get the altered one? ONLY variables can be passed by referenze ! -- red Daevid Vincent wrote: So,

[PHP] Re: PHP5 and pass by reference bug.

2004-07-16 Thread Red Wingate
Maybe you recheck the dokumentation on what exactly referenzes are. Do you expect the function to alter the string "something here" and every- time you later print the string within your script you get the altered one? ONLY variables can be passed by referenze ! -- red Daevid Vincent wrote: So,