Re: Re: static call bugs?

From: Date: Sat, 10 Mar 2001 19:49:59 +0000
Subject: Re: Re: static call bugs?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-48600@lists.php.net to get a copy of this message
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. andré -- · André Langhorst t: +49 331 5811560 · · andre@php.net m: +49 173 9558736 · * PHP Quality Assurance http://qa.php.net *

« previous php.dev (#48600) next »