clone is no function, remove the confusing ()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@224288 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Etienne Kneuss 2006-12-03 22:09:02 +00:00
parent 790db52f21
commit bdedb4206e

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<sect1 id="language.oop5.cloning">
<title>Object cloning</title>
@ -65,7 +65,7 @@ class MyCloneable
{
// Force a copy of this->object, otherwise
// it will point to same object.
$this->object1 = clone($this->object1);
$this->object1 = clone $this->object1;
}
}