summaryrefslogtreecommitdiff
path: root/ext/standard/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-12 12:20:41 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-22 11:39:52 +0200
commit964de035a7c9c78d262a7369a0b7a5eb747719ae (patch)
treeb002357e4fd5dd5dc6b6fe000b9f6a8416c8750d /ext/standard/tests
parentb3668aabf7d9bf1444edbbd13fe20de5d89e008e (diff)
downloadphp-git-964de035a7c9c78d262a7369a0b7a5eb747719ae.tar.gz
Deprecate restore_include_path()
Diffstat (limited to 'ext/standard/tests')
-rw-r--r--ext/standard/tests/general_functions/include_path.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/include_path.phpt b/ext/standard/tests/general_functions/include_path.phpt
index 8b6626fbc8..23c5bc45aa 100644
--- a/ext/standard/tests/general_functions/include_path.phpt
+++ b/ext/standard/tests/general_functions/include_path.phpt
@@ -46,8 +46,12 @@ string(1) "."
Warning: get_include_path() expects exactly 0 parameters, 1 given in %s on line %d
NULL
+
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
NULL
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
+
Warning: restore_include_path() expects exactly 0 parameters, 1 given in %s on line %d
NULL
@@ -56,20 +60,28 @@ NULL
string(1) "."
string(1) "."
string(3) "var"
+
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
NULL
string(1) "."
string(1) "."
string(14) ".:/path/to/dir"
+
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
NULL
string(1) "."
bool(false)
string(1) "."
+
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
NULL
string(1) "."
Warning: set_include_path() expects parameter 1 to be a valid path, array given in %s on line %d
NULL
string(1) "."
+
+Deprecated: Function restore_include_path() is deprecated in %s on line %d
NULL
string(1) "."
Done