colder Wed Sep 6 11:57:23 2006 UTC
Modified files:
/phpdoc/en/language/oop5 basic.xml
Log:
Fix the 'instance of an object'
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop5/basic.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/language/oop5/basic.xml
diff -u phpdoc/en/language/oop5/basic.xml:1.17
phpdoc/en/language/oop5/basic.xml:1.18
--- phpdoc/en/language/oop5/basic.xml:1.17 Tue Jul 18 11:19:52 2006
+++ phpdoc/en/language/oop5/basic.xml Wed Sep 6 11:57:23 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<sect1 id="language.oop5.basic">
<title>The Basics</title>
@@ -127,7 +127,7 @@
<sect2 id="language.oop5.basic.new">
<title>new</title>
<para>
- To create an instance of an object, a new object must be created and
+ To create an instance of a class, a new object must be created and
assigned to a variable. An object will always be assigned when
creating a new object unless the object has a
<link linkend="language.oop5.decon">constructor</link> defined that throws
an
@@ -144,9 +144,9 @@
</programlisting>
</example>
<para>
- When assigning an already created instance of an object to a new variable,
the new variable
+ When assigning an already created instance of a class to a new variable,
the new variable
will access the same instance as the object that was assigned. This
- behaviour is the same when passing instances to a function. A new instance
+ behaviour is the same when passing instances to a function. A copy
of an already created object can be made by
<link linkend="language.oop5.cloning">cloning</link> it.
</para>