From 53182cbc3a6ff8d57a5f5ae1f2340afd30fa1744 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Sun, 23 Feb 2014 08:22:12 +0000 Subject: [PATCH] fix #66663 cleanup description git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332880 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/object-comparison.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/language/oop5/object-comparison.xml b/language/oop5/object-comparison.xml index 033b8b379d..5f3f8ac9ff 100644 --- a/language/oop5/object-comparison.xml +++ b/language/oop5/object-comparison.xml @@ -2,11 +2,6 @@ Comparing Objects - - 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). - When using the comparison operator (==), object variables are compared in a simple manner, namely: Two object @@ -14,7 +9,7 @@ instances of the same class. - On the other hand, when using the identity operator (===), + When using the identity operator (===), object variables are identical if and only if they refer to the same instance of the same class.