note 123359 added to function.parse-url
| From: | chris at ocproducts dot com | Date: | Wed, 21 Nov 2018 19:38:07 +0000 |
| Subject: | note 123359 added to function.parse-url | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209752@lists.php.net to get a copy of this message | ||
If there is no port explicitly in the URL then it will not default to 80/443.
For example this...
parse_url('http://example.com', PHP_URL_PORT);
...returns null.
----
Server IP: 208.43.231.9
Probable Submitter: 2605:a000:140d:8023:54d7:2b2a:e5e0:2b56
----
Manual Page -- http://php.net/manual/en/function.parse-url.php
Edit -- https://master.php.net/note/edit/123359
Del: integrated -- https://master.php.net/note/delete/123359/integrated
Del: useless -- https://master.php.net/note/delete/123359/useless
Del: bad code -- https://master.php.net/note/delete/123359/bad+code
Del: spam -- https://master.php.net/note/delete/123359/spam
Del: non-english -- https://master.php.net/note/delete/123359/non-english
Del: in docs -- https://master.php.net/note/delete/123359/in+docs
Del: other reasons-- https://master.php.net/note/delete/123359
Reject -- https://master.php.net/note/reject/123359
Search -- https://master.php.net/manage/user-notes.php