svn: /phpdoc/en/trunk/language/oop5/ references.xml
| From: | Johannes Schlüter | Date: | Thu, 18 Aug 2011 15:27:50 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/oop5/ references.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8646@lists.php.net to get a copy of this message | ||
johannes Thu, 18 Aug 2011 15:27:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315146
Log:
nitpicking: PHP 5, not PHP5
Changed paths:
U phpdoc/en/trunk/language/oop5/references.xml
Modified: phpdoc/en/trunk/language/oop5/references.xml
===================================================================
--- phpdoc/en/trunk/language/oop5/references.xml 2011-08-18 14:50:03 UTC (rev 315145)
+++ phpdoc/en/trunk/language/oop5/references.xml 2011-08-18 15:27:50 UTC (rev 315146)
@@ -3,14 +3,14 @@
<sect1 xml:id="language.oop5.references" xmlns="http://docbook.org/ns/docbook">
<title>Objects and references</title>
<para>
- One of the key-points of PHP5 OOP that is often mentioned is that
+ One of the key-points of PHP 5 OOP that is often mentioned is that
"objects are passed by references by default". This is not completely true.
This section rectifies that general thought using some examples.
</para>
<para>
A PHP reference is an alias, which allows two different variables to write
- to the same value. As of PHP5, an object variable doesn't contain the object
+ to the same value. As of PHP 5, an object variable doesn't contain the object
itself as value anymore. It only contains an object identifier which allows
object accessors to find the actual object. When an object is sent by
argument, returned or assigned to another variable, the different variables