]> granicus.if.org Git - php/commitdiff
Deprecate allow_url_include
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jul 2019 10:42:32 +0000 (12:42 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 22 Jul 2019 09:39:52 +0000 (11:39 +0200)
Zend/tests/require_parse_exception.phpt
ext/opcache/tests/bug64353.phpt
ext/opcache/tests/bug65510.phpt
ext/standard/tests/file/include_userstream_003.phpt
ext/standard/tests/strings/highlight_file.phpt
main/main.c

index db6844c2ea978c393e8de5b7440c761b7c87d7f6..859589231e81b58908ab5739d5d3ebf7362eedef 100644 (file)
@@ -42,6 +42,7 @@ var_dump("\u{ffffff}");');
 
 ?>
 --EXPECT--
+Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
 syntax error, unexpected end of file on line 2
 syntax error, unexpected end of file on line 3
 syntax error, unexpected end of file, expecting '(' on line 2
index b1f0c6e713507b1f2a12e23e3d68da789a9044d8..42cb45c915628c75d07a817e7b4b5be21fbfd4c8 100644 (file)
@@ -26,4 +26,5 @@ include "php://filter/read=bug.test/resource=data://text/plain,<?php\n";
 echo "OK\n";
 ?>
 --EXPECT--
+Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
 OK
index ba19d27d6ff2aa0085b0a93d930763796996e1d9..9043b58e12985ca0174308737d443206df293c09 100644 (file)
@@ -17,4 +17,5 @@ function parseQuery() {
 parseQuery();
 echo "ok\n";
 --EXPECT--
+Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
 ok
index d7701a5d6af17ac55d65b69c8989a907e6bd26f4..71f8920d5370132b88469b4ac5da01ed93537903 100644 (file)
@@ -94,6 +94,8 @@ include "test1://hello";
 echo file_get_contents("test2://hello"),"\n";
 include "test2://hello";
 --EXPECTF--
+Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
+
 Warning: file_get_contents(): test1:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %sinclude_userstream_003.php on line 86
 
 Warning: file_get_contents(test1://hello): failed to open stream: no suitable wrapper could be found in %sinclude_userstream_003.php on line 86
index 9861c6c27f4139bd01ff7afd58f848521d2a97bb..4eba32aebcbe2d9b1d9c81b13f1382fb871bc6f3 100644 (file)
@@ -37,6 +37,8 @@ var_dump(highlight_file($filename));
 echo "Done\n";
 ?>
 --EXPECTF--
+Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
+
 Warning: highlight_file() expects at least 1 parameter, 0 given in %s on line %d
 bool(false)
 
index 809ebbfd5e3f0f6067de4aadd9196bd9d810f296..9c8e83cc42376c74f533512377cf248c00dd988f 100644 (file)
@@ -2359,6 +2359,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
                                "Directive '%s' is deprecated",
                                {
                                        "track_errors",
+                                       "allow_url_include",
                                        NULL
                                }
                        },