note 70820 deleted from function.parse-url by nlopess

From: Date: Sun, 17 Dec 2006 19:31:02 +0000
Subject: note 70820 deleted from function.parse-url by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-120700@lists.php.net to get a copy of this message
Note Submitter: alistair at 21degrees dot com dot au ---- The example I gave needs a slight correction. <?php .... ## PHP 5 if(version_compare(phpversion(), '5.1.2', 'ge')) return parse_url($url, $component); .... ?> is the correct condition. Previously it wont work if your on PHP 5 to 5.1.1 since the changes to parse_url() were implemented in 5.1.2+

« previous php.notes (#120700) next »