At 08:49 PM 3/10/2001 +0100, André Langhorst wrote:
>>When you say that people shouldn't use references because of performance 
>>what do you mean? I think you are right in general but when you are 
>>passing around objects you should use references. for example:
>>function foo(&$obj)
>>{
>>}
>>foo($myobject);
>
>I know, what about addming some words on reference counting to the docs (I 
>know it was on the inital zend.com site around release of php 4), this is 
>very important to understand how to tweak performance.
>
>I have seen many people doing the contrary coming from c++ etc.

Good idea. I don't have time in the next few days to work on it but maybe 
I'll be able to steal some stuff from my Zend.com article.

Andi


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to