From: Bob Weinand Date: Thu, 16 Jul 2015 07:24:57 +0000 (+0200) Subject: Fix test; this should properly throw an Error, just as every other by-ref assignment... X-Git-Tag: php-7.0.0beta2~6^2~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0242653377945908475c117446d1c82bf7d1616c;p=php Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object --- 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