From 19c18524d3add580f9ed8753dc76f5b3c1b6965f Mon Sep 17 00:00:00 2001 From: jim winstead Date: Wed, 12 Dec 2001 21:29:56 +0000 Subject: [PATCH] & -> &, tighten the wording a bit git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64872 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/references.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/language/references.xml b/language/references.xml index 9402e11dbc..54eb30a36b 100644 --- a/language/references.xml +++ b/language/references.xml @@ -1,5 +1,5 @@ - + References Explained @@ -55,14 +55,13 @@ $foo =& find_var ($bar); - Not using the & operator causes a copy of - the object. If you use $this in the class - it will operate on the current instance of the class. The - assignment without & will copy the instance - (i.e. the object) and $this will operate on - the copy, which is not always favoured. Mostly you want to have - a single instance to work with, due to performace and memory - consumption issues. + Not using the & operator causes a copy of the + object to be made. If you use $this in the class it + will operate on the current instance of the class. The assignment without + & will copy the instance (i.e. the object) and + $this will operate on the copy, which is not always + what is desired. Usually you want to have a single instance to work with, + due to performance and memory consumption issues.