summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_class.cpp')
-rw-r--r--ext/intl/breakiterator/breakiterator_class.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/intl/breakiterator/breakiterator_class.cpp b/ext/intl/breakiterator/breakiterator_class.cpp
index 301701d29e..bd76d25ca6 100644
--- a/ext/intl/breakiterator/breakiterator_class.cpp
+++ b/ext/intl/breakiterator/breakiterator_class.cpp
@@ -84,9 +84,6 @@ static int BreakIterator_compare_objects(zval *object1,
*bio2;
ZEND_COMPARE_OBJECTS_FALLBACK(object1, object2);
- if (Z_TYPE_P(object1) != Z_TYPE_P(object2)) {
- return 1; /* object and non-object */
- }
bio1 = Z_INTL_BREAKITERATOR_P(object1);
bio2 = Z_INTL_BREAKITERATOR_P(object2);