com php-src: Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object: Zend/tests/bug69732.phpt

From: Date: Thu, 16 Jul 2015 07:25:19 +0000
Subject: com php-src: Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object: Zend/tests/bug69732.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88001@lists.php.net to get a copy of this message
Commit: 0242653377945908475c117446d1c82bf7d1616c Author: Bob Weinand <bobwei9@hotmail.com> Thu, 16 Jul 2015 09:24:57 +0200 Parents: e6d9061e8558f4a370862b32cace46b8e8ce4f02 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0242653377945908475c117446d1c82bf7d1616c Log: Fix test; this should properly throw an Error, just as every other by-ref assignment to an overloaded object Changed paths: M Zend/tests/bug69732.phpt Diff: diff --git a/Zend/tests/bug69732.phpt b/Zend/tests/bug69732.phpt index bc6206d..8d5fccd 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

« previous php.cvs (#88001) next »