diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-11-04 14:56:54 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-11-04 14:57:17 +0100 |
commit | b8f2531ff0ac6a5e7828debd56e8e37ee04a4d6a (patch) | |
tree | 81becc46412417cd496e451679d498183a9753a1 /ext/standard/tests/url/parse_url_unterminated.phpt | |
parent | 7794925ba4d7510f4afc5d5a83358aa4106bf189 (diff) | |
parent | 00e41a10b8b7c3e14f4aab680157489219ab4a86 (diff) | |
download | php-git-b8f2531ff0ac6a5e7828debd56e8e37ee04a4d6a.tar.gz |
Merge branch 'PHP-7.4' into PHP-8.0
* PHP-7.4:
Fix #80266: parse_url silently drops port number 0
Diffstat (limited to 'ext/standard/tests/url/parse_url_unterminated.phpt')
-rw-r--r-- | ext/standard/tests/url/parse_url_unterminated.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/tests/url/parse_url_unterminated.phpt b/ext/standard/tests/url/parse_url_unterminated.phpt index 9ab0c887c8..7c9150a513 100644 --- a/ext/standard/tests/url/parse_url_unterminated.phpt +++ b/ext/standard/tests/url/parse_url_unterminated.phpt @@ -881,11 +881,13 @@ echo "Done"; string(3) "%:x" } ---> https://example.com:0/: array(3) { +--> https://example.com:0/: array(4) { ["scheme"]=> string(5) "https" ["host"]=> string(11) "example.com" + ["port"]=> + int(0) ["path"]=> string(1) "/" } |