Quoting Urb LeJeune <[EMAIL PROTECTED]>:
There are two types of calls.1. Call by value 2. Call by reference Unless PHP does things differently than any other language that I have ever used
Apparently it does. You should read up on reference counting, which is what PHP does in most situations (for example, objects in PHP 5 are pass-by-reference always) for pass-by-value. Nothing is copied unless you actually change the value. This makes pass-by-reference actually slightly _slower_ in some cases when you are passing an array into a function where you will not change the array.
-chuck _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
