Hello Cliff,
Alright, makes sense.
Thanks.
----- Original Message -----
From: "Cliff Hirsch" <[EMAIL PROTECTED]>
To: "NYPHP Talk" <[email protected]>
Sent: Monday, November 19, 2007 4:21 PM
Subject: Re: [nyphp-talk] Why is pass-by-reference deprecated?
Hello,
Sorry to hijack, but I started thinking about something I read
for optimization of php.
They stated, if you know your not going to make changes
to a variable, to send it to a function as reference, as to NOT
make a copy of it...
Going back to some very, very old threads on here, I though that copies
were
only made if the variable was changed. If the variable is not changed, I
believe php is smart enough to reference, not copy, the variable.
Clif
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php