mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix #66663 cleanup description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332880 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5e2b341569
commit
53182cbc3a
1 changed files with 1 additions and 6 deletions
|
@ -2,11 +2,6 @@
|
|||
<!-- $Revision$ -->
|
||||
<sect1 xml:id="language.oop5.object-comparison" xmlns="http://docbook.org/ns/docbook">
|
||||
<title>Comparing Objects</title>
|
||||
<para>
|
||||
In PHP 5, object comparison is more complicated than in PHP 4 and more
|
||||
in accordance to what one will expect from an Object Oriented Language
|
||||
(not that PHP 5 is such a language).
|
||||
</para>
|
||||
<para>
|
||||
When using the comparison operator (<literal>==</literal>),
|
||||
object variables are compared in a simple manner, namely: Two object
|
||||
|
@ -14,7 +9,7 @@
|
|||
instances of the same class.
|
||||
</para>
|
||||
<para>
|
||||
On the other hand, when using the identity operator (<literal>===</literal>),
|
||||
When using the identity operator (<literal>===</literal>),
|
||||
object variables are identical if and only if they refer to the same
|
||||
instance of the same class.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue