Re: Re: static call bugs?

From: Date: Sat, 10 Mar 2001 23:10:26 +0000
Subject: Re: Re: static call bugs?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-48611@lists.php.net to get a copy of this message
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

« previous php.dev (#48611) next »