ID: 23063
Updated by: [EMAIL PROTECTED]
Reported By: mccarthy36 at earthlink dot net
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.3.1
New Comment:
You can achieve the same results using preg_replace:
preg_replace('/./e',"sprintf('%%%02X',ord('\\0'))",$foo);
The resulting string can be parsed by any RFC compliant query string
decoder.
Previous Comments:
------------------------------------------------------------------------
[2003-04-05 11:29:14] mccarthy36 at earthlink dot net
I'd like to see an optional boolean second argument to urlencode() and
rawurlencode() to cause encoding of all characters in the argument
string, even alphanumerics.
Like this:
string urlencode ( string str [, bool encode_all])
string rawurlencode ( string str [, bool encode_all])
Naturally the optional argument would default to false to preserve the
current behavior.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23063&edit=1