summaryrefslogtreecommitdiff
path: root/ext/spl/tests/iterator_044.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/tests/iterator_044.phpt')
-rw-r--r--ext/spl/tests/iterator_044.phpt8
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/spl/tests/iterator_044.phpt b/ext/spl/tests/iterator_044.phpt
index 66f722af9a..74321194e0 100644
--- a/ext/spl/tests/iterator_044.phpt
+++ b/ext/spl/tests/iterator_044.phpt
@@ -94,8 +94,12 @@ Warning: Undefined array key "foo" in %s on line %d
NULL
===3===
NULL
+
+Deprecated: CachingIterator::offsetExists(): Passing null to parameter #1 ($key) of type string is deprecated in %s on line %d
bool(false)
+Deprecated: CachingIterator::offsetGet(): Passing null to parameter #1 ($key) of type string is deprecated in %s on line %d
+
Warning: Undefined array key "" in %s on line %d
NULL
===4===
@@ -133,8 +137,12 @@ bool(true)
int(1)
===3===
NULL
+
+Deprecated: CachingIterator::offsetExists(): Passing null to parameter #1 ($key) of type string is deprecated in %s on line %d
bool(false)
+Deprecated: CachingIterator::offsetGet(): Passing null to parameter #1 ($key) of type string is deprecated in %s on line %d
+
Warning: Undefined array key "" in %s on line %d
NULL
===4===