git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@276811 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Richard Quadling 2009-03-06 15:24:23 +00:00
parent 567afe32ad
commit ee264e8ee1

View file

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