summaryrefslogtreecommitdiff
path: root/ext/session/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-08-03 11:26:54 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-08-03 14:40:50 +0200
commitc48b745f0090c944e77c1fbcfb6c4df3b54356ad (patch)
treea3bbde151685c6d5bc35e8151966d5a04505b35c /ext/session/tests
parentb9171d8a9354f8e86c43fe319f1c186c6590b2df (diff)
downloadphp-git-c48b745f0090c944e77c1fbcfb6c4df3b54356ad.tar.gz
Promote "undefined array key" notice to warning
This implements the last remaining part of the https://wiki.php.net/rfc/engine_warnings RFC. Closes GH-5927.
Diffstat (limited to 'ext/session/tests')
-rw-r--r--ext/session/tests/bug24592.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/tests/bug24592.phpt b/ext/session/tests/bug24592.phpt
index c4e9ee77eb..6dce774208 100644
--- a/ext/session/tests/bug24592.phpt
+++ b/ext/session/tests/bug24592.phpt
@@ -20,9 +20,9 @@ $_SESSION['bar'] = $bar;
var_dump($_SESSION);
?>
--EXPECTF--
-Notice: Undefined array key "foo" in %s on line %d
+Warning: Undefined array key "foo" in %s on line %d
-Notice: Undefined array key "bar" in %s on line %d
+Warning: Undefined array key "bar" in %s on line %d
NULL
NULL
array(0) {