note 34247 deleted from function.parse-url by didou

From: Date: Thu, 09 Oct 2003 13:12:14 +0000
Subject: note 34247 deleted from function.parse-url by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58123@lists.php.net to get a copy of this message
Note Submitter: robemerick @ vegasidx . com ---- All keys for the associative array returned by parse_url are NOT created. Only the keys with relevant values are created. Example: $temp_array = parse_url(http://www.vegasidx.com); will yield 2 array elements $temp_array['scheme']) $temp_array[host]) The other array elements such as path, query, port, etc, are NOT set to empty values but rather they are not created. This kicks out error messages if you have your error reporting set to report all errors. Hopefully they will change this function to create all keys.

« previous php.notes (#58123) next »