summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/each_variation6.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-02-02 23:07:25 +0100
committerNikita Popov <nikita.ppv@gmail.com>2017-02-03 21:02:52 +0100
commit06a034016280435feb80eea4d674ca5688ab4c06 (patch)
treeb9860ce0cacadef78cf3ed1fc250f3048aee4793 /ext/standard/tests/array/each_variation6.phpt
parent6ba720662084306906e125d8f690146d7b86b303 (diff)
downloadphp-git-06a034016280435feb80eea4d674ca5688ab4c06.tar.gz
Deprecate each()
Diffstat (limited to 'ext/standard/tests/array/each_variation6.phpt')
-rw-r--r--ext/standard/tests/array/each_variation6.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/tests/array/each_variation6.phpt b/ext/standard/tests/array/each_variation6.phpt
index 445d63f318..ba0f2657c8 100644
--- a/ext/standard/tests/array/each_variation6.phpt
+++ b/ext/standard/tests/array/each_variation6.phpt
@@ -35,6 +35,8 @@ echo "Done";
0 => zero
-- Call to each(): --
+
+Deprecated: The each() function is deprecated. This message will be suppressed on further calls in %s on line %d
array(4) {
[1]=>
string(4) "zero"
@@ -48,4 +50,4 @@ array(4) {
-- New position: --
1 => one
-Done \ No newline at end of file
+Done