Re: [PHP] Passing by reference deprecated?

2001-03-30 Thread Yasuo Ohgaki
FYI Unless you need to modify and return modified contents of variables, pass by reference makes script execution a little slower under PHP4. -- Yasuo Ohgaki ""Neil Kimber"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Pass by reference itself is not

RE: [PHP] Passing by reference deprecated?

2001-03-30 Thread Neil Kimber
to hear of other peoples views. -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: 30 March 2001 10:08 To: [EMAIL PROTECTED] Subject: Re: [PHP] Passing by reference deprecated? FYI Unless you need to modify and return modified contents of variables, pass by reference makes

Re: [PHP] Passing by reference deprecated?

2001-03-30 Thread Yasuo Ohgaki
Ohgaki" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, March 30, 2001 6:51 PM Subject: RE: [PHP] Passing by reference deprecated? I'm surprised. I would have thought that it would have been the other way around. Passing by reference should have similar implications to reference count

RE: [PHP] Passing by reference deprecated?

2001-03-29 Thread Neil Kimber
Pass by reference itself is not deprecated, just call-time pass-by-reference. I believe this means your calling line of code being prevented from specifying that it should be invoked as pass-by-reference. So, function NormalPassByRefence($prmValue) { $prmValue ++; }