note 116401 deleted from function.rawurldecode by salathe

From: Date: Fri, 02 Jan 2015 11:29:18 +0000
Subject: note 116401 deleted from function.rawurldecode by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-201323@lists.php.net to get a copy of this message
Note Submitter: osamu ---- <?php // rawurlencode() does not encode "-_.~" echo rawurlencode("-_.~") . "\n"; // output: -_.~ // rawurldecode() converts "%2D%5F%2E%7E" to "-_.~" echo rawurldecode("%2D%5F%2E%7E") . "\n"; // output: -_.~ // rawurlencode() encodes to hex digits in upper case echo rawurlencode("*") . "\n"; // output: %2A // rawurldecode() accepts hex digits in lower case echo rawurldecode("%2a") . "\n"; // output: * ?>

« previous php.notes (#201323) next »