cvs: phpdoc /en/language oop.xml
| From: | Derick Rethans | Date: | Wed, 02 Apr 2003 06:44:47 +0000 |
| Subject: | cvs: phpdoc /en/language oop.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969352438@lists.php.net to get a copy of this message | ||
derick Wed Apr 2 01:44:47 2003 EDT
Modified files:
/phpdoc/en/language oop.xml
Log:
- Fix XML
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.38 phpdoc/en/language/oop.xml:1.39
--- phpdoc/en/language/oop.xml:1.38 Tue Apr 1 01:39:54 2003
+++ phpdoc/en/language/oop.xml Wed Apr 2 01:44:47 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.38 $ -->
+<!-- $Revision: 1.39 $ -->
<chapter id="language.oop">
<title>Classes and Objects</title>
@@ -1031,18 +1031,7 @@
Even in the cases where we have object composition, the same comparison
rules apply. In the example below we create a container class that stores
an associative array of <classname>Flag</classname> objects.
- <example>Composite objects u(o,p) and v(q,p)
-o1 == o2 : TRUE
-o1 != o2 : FALSE
-o1 === o2 : TRUE
-o1 !== o2 : FALSE
-
-u(o,p) and w(q)
-o1 == o2 : FALSE
-o1 != o2 : TRUE
-o1 === o2 : FALSE
-o1 !== o2 : TRUE
-
+ <example>
<title>Compound object comparisons in PHP 4</title>
<programlisting role='php'>
<![CDATA[