mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
7000e3f71f
commit
18f34143e1
1 changed files with 5 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue