mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
w/s
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276811 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
567afe32ad
commit
ee264e8ee1
1 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<sect1 xml:id="language.oop5.cloning" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Object cloning</title>
|
||||
|
||||
|
@ -35,9 +35,10 @@ $copy_of_object = clone $object;
|
|||
will remain references.
|
||||
</para>
|
||||
|
||||
<para>Once the cloning is complete, if a __clone() method is defined, then
|
||||
the newly created object's __clone() method will be called, to allow any
|
||||
necessary properties that need to be changed.
|
||||
<para>
|
||||
Once the cloning is complete, if a __clone() method is defined, then
|
||||
the newly created object's __clone() method will be called, to allow any
|
||||
necessary properties that need to be changed.
|
||||
</para>
|
||||
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue