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
This commit is contained in:
Etienne Kneuss 2006-09-06 11:55:09 +00:00
parent 7000e3f71f
commit 18f34143e1

View file

@ -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>