From:             mccarthy36 at earthlink dot net
Operating system: All
PHP version:      4.3.1
PHP Bug Type:     Feature/Change Request
Bug description:  Enhancement to urlencode(), rawurlencode()

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 bug report at http://bugs.php.net/?id=23063&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23063&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23063&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23063&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23063&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23063&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23063&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23063&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23063&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23063&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23063&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23063&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23063&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23063&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23063&r=gnused

Reply via email to