note 103297 deleted from function.parse-url by cmb

From: Date: Sun, 06 Oct 2019 08:17:25 +0000
Subject: note 103297 deleted from function.parse-url by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212507@lists.php.net to get a copy of this message
Note Submitter: Egor Chernodarov ---- Noticed the following differences in error handling: <?php print_r(parse_url('ftp://user:password@host:port')); ?> In PHP 5.2.6 returns: Array ( [scheme] => ftp [host] => host [user] => user [pass] => password ) port is just skipped. But in PHP 5.3.6 returns NULL without any warnings.

« previous php.notes (#212507) next »