mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
- Fix XML
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@122115 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
fbda587836
commit
7cc14952bc
1 changed files with 2 additions and 13 deletions
|
@ -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[
|
||||
|
|
Loading…
Reference in a new issue