com php-src: Fix test; this should properly emit a fatal error, just as every other by-ref assignment to an overloaded object:
Zend/tests/bug69732.phpt
| From: | Bob Weinand | Date: | Thu, 16 Jul 2015 07:29:43 +0000 |
| Subject: | com php-src: Fix test; this should properly emit a fatal 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-88002@lists.php.net to get a copy of this message | ||
Commit: 37e03f6b32832ebf51429d1a9ad71a7cb9068a66
Author: Bob Weinand <bobwei9@hotmail.com> Thu, 16 Jul 2015 09:29:43 +0200
Parents: f57cb13c566613eec0e1c2f6d96d18565436a9b7
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=37e03f6b32832ebf51429d1a9ad71a7cb9068a66
Log:
Fix test; this should properly emit a fatal 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 2ea5e58...94b8d79 100644
--- a/Zend/tests/bug69732.phpt
+++ b/Zend/tests/bug69732.phpt
@@ -24,7 +24,4 @@ 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
-Strict Standards: Only variables should be assigned by reference in %sbug69732.php on line 16
-
-Notice: Undefined property: wpq::$interesting in %sbug69732.php on line 6
-XXX
+Fatal error: Cannot assign by reference to overloaded object in %sbug69732.php on line 16