summaryrefslogtreecommitdiff
path: root/Zend/tests/this_in_parse_str.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/this_in_parse_str.phpt')
-rw-r--r--Zend/tests/this_in_parse_str.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/this_in_parse_str.phpt b/Zend/tests/this_in_parse_str.phpt
index 4540d282cc..0bd9064d60 100644
--- a/Zend/tests/this_in_parse_str.phpt
+++ b/Zend/tests/this_in_parse_str.phpt
@@ -9,6 +9,8 @@ function foo() {
foo();
?>
--EXPECTF--
+Deprecated: parse_str(): Calling parse_str() without the result argument is deprecated in %s on line %d
+
Fatal error: Uncaught Error: Cannot re-assign $this in %sthis_in_parse_str.php:3
Stack trace:
#0 %sthis_in_parse_str.php(3): parse_str('this=42')