diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-20 15:38:18 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-09-20 15:38:18 +0200 |
commit | c0f8cc1904106753fcb8cc4ecfef0cf154479ad9 (patch) | |
tree | 1ea5a2fecd11b2f82282f018ceb97770645a17e1 /ext/standard/tests/url/parse_url_unterminated.phpt | |
parent | 93745a242fca45a215d1ce6a9903ecedd4a5414e (diff) | |
parent | 105132bd6b924c253ca6db5cf7f3ecfcf9fa3300 (diff) | |
download | php-git-c0f8cc1904106753fcb8cc4ecfef0cf154479ad9.tar.gz |
Merge branch 'PHP-7.4' into master
* PHP-7.4:
Fix #80114: parse_url does not accept URLs with port 0
Diffstat (limited to 'ext/standard/tests/url/parse_url_unterminated.phpt')
-rw-r--r-- | ext/standard/tests/url/parse_url_unterminated.phpt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/standard/tests/url/parse_url_unterminated.phpt b/ext/standard/tests/url/parse_url_unterminated.phpt index 86b9d0e1f1..9ab0c887c8 100644 --- a/ext/standard/tests/url/parse_url_unterminated.phpt +++ b/ext/standard/tests/url/parse_url_unterminated.phpt @@ -881,6 +881,15 @@ echo "Done"; string(3) "%:x" } +--> https://example.com:0/: array(3) { + ["scheme"]=> + string(5) "https" + ["host"]=> + string(11) "example.com" + ["path"]=> + string(1) "/" +} + --> http:///blah.com: bool(false) --> http://:80: bool(false) |