mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Merge branch 'PHP-5.6' into PHP-7.0
Conflicts: main/streams/streams.c
This commit is contained in:
commit
6714f73545
@ -1769,11 +1769,6 @@ PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const
|
||||
|
||||
if ((*p == ':') && (n > 1) && (!strncmp("//", p+1, 2) || (n == 4 && !memcmp("data:", path, 5)))) {
|
||||
protocol = path;
|
||||
} else if (n == 5 && strncasecmp(path, "zlib:", 5) == 0) {
|
||||
/* BC with older php scripts and zlib wrapper */
|
||||
protocol = "compress.zlib";
|
||||
n = 13;
|
||||
php_error_docref(NULL, E_WARNING, "Use of \"zlib:\" wrapper is deprecated; please use \"compress.zlib://\" instead");
|
||||
}
|
||||
|
||||
if (protocol) {
|
||||
|
Loading…
Reference in New Issue
Block a user