From 18f34143e12825ec03cb3b99419201de9b9452bc Mon Sep 17 00:00:00 2001 From: Etienne Kneuss <colder@php.net> Date: Wed, 6 Sep 2006 11:55:09 +0000 Subject: [PATCH] Fix #38660 (Implement changes regarding objects in PHP5) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219462 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/language/operators.xml b/language/operators.xml index a20aa49f56..c88765bbb6 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.104 $ --> +<!-- $Revision: 1.105 $ --> <chapter id="language.operators"> <title>Operators</title> <simpara> @@ -357,7 +357,10 @@ $b .= "There!"; // sets $b to "Hello There!", just like $b = $b . "There!"; in PHP 3. 'Assignment by reference' means that both variables end up pointing at the same data, and nothing is copied anywhere. To learn more about references, please read <link - linkend="language.references">References explained</link>. + linkend="language.references">References explained</link>. As of + PHP5 objects are assigned by reference unless explicitly told + otherwise with the new <link linkend="language.oop5.cloning">clone</link> + keyword. </para> </sect1>