summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-07-16 09:24:57 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-07-16 09:25:19 +0200
commit0242653377945908475c117446d1c82bf7d1616c (patch)
tree0583d0d0799fc837ef7edad17ab0a0f946e22540
parente6d9061e8558f4a370862b32cace46b8e8ce4f02 (diff)
downloadphp-git-0242653377945908475c117446d1c82bf7d1616c.tar.gz
Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object
-rw-r--r--Zend/tests/bug69732.phpt7
1 files changed, 4 insertions, 3 deletions
diff --git a/Zend/tests/bug69732.phpt b/Zend/tests/bug69732.phpt
index bc6206d113..8d5fccd712 100644
--- a/Zend/tests/bug69732.phpt
+++ b/Zend/tests/bug69732.phpt
@@ -24,7 +24,8 @@ Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
Notice: Indirect modification of overloaded property wpq::$interesting has no effect in %sbug69732.php on line 16
-Notice: Only variables should be assigned by reference in %sbug69732.php on line 16
+Fatal error: Uncaught Error: Cannot assign by reference to overloaded object in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
-Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
-XXX