> 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é Langhorst        t: +49 331 5811560 ·
· [EMAIL PROTECTED]          m: +49 173 9558736 ·
* PHP Quality Assurance  http://qa.php.net  *

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