]> granicus.if.org Git - php/commitdiff
Fix test; this should properly throw an Error, just as every other by-ref assignment...
authorBob Weinand <bobwei9@hotmail.com>
Thu, 16 Jul 2015 07:24:57 +0000 (09:24 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Thu, 16 Jul 2015 07:25:19 +0000 (09:25 +0200)
Zend/tests/bug69732.phpt

index bc6206d1136cfbb0a1d6ddb43191f55eece94f22..8d5fccd71211ae420dfab8188ded72a405fa7dc8 100644 (file)
@@ -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