note 123359 deleted from function.parse-url by cmb
| From: | cmb@php.net | Date: | Sun, 06 Oct 2019 08:16:50 +0000 |
| Subject: | note 123359 deleted from function.parse-url by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-212505@lists.php.net to get a copy of this message | ||
Note Submitter: chris at ocproducts dot com
----
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.