- Fix XML

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@122115 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2003-04-02 06:44:47 +00:00
parent fbda587836
commit 7cc14952bc

View file

@ -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 @@ o1 !== o2 : TRUE
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[