summaryrefslogtreecommitdiff
path: root/Zend/tests/bug66286.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug66286.phpt')
-rw-r--r--Zend/tests/bug66286.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/bug66286.phpt b/Zend/tests/bug66286.phpt
index 457e282402..d5b9bd7161 100644
--- a/Zend/tests/bug66286.phpt
+++ b/Zend/tests/bug66286.phpt
@@ -5,10 +5,10 @@ Bug #66286: Incorrect object comparison with inheritance
abstract class first {
protected $someArray = array();
-}
+}
-class second extends first {
- protected $someArray = array();
+class second extends first {
+ protected $someArray = array();
protected $someValue = null;
public function __construct($someValue) {
@@ -16,10 +16,10 @@ class second extends first {
}
}
-$objFirst = new second('123');
-$objSecond = new second('321');
+$objFirst = new second('123');
+$objSecond = new second('321');
-var_dump ($objFirst == $objSecond);
+var_dump ($objFirst == $objSecond);
?>
--EXPECT--