Fw: rawurldecode bug? (again)

From: Date: Thu, 07 Sep 2000 10:56:28 +0000
Subject: Fw: rawurldecode bug? (again)
Groups: php.general 
Request: Send a blank email to php-general+get-15737@lists.php.net to get a copy of this message
Sorry, Fixed in PHP 4.0.0 -> 4.0.1 Changes David. ----- Original Message ----- From: David Newcomb <davidn@vnvi.com> To: php-general <php-general@lists.php.net> Sent: Thursday, September 07, 2000 11:45 AM Subject: rawurldecode bug? (again) > > Hi all, > > Any one know what is happening here. > The manual says it returns the changed value, It dosen't say anything about > actually changing the value. I'm using php 4.0.0 > > Given: > > <?php > > $bob="Hello%20World"; > echo "bob=$bob<br>\n"; > > echo "stuff=" . addslashes(rawurldecode($bob)) ."<br>\n"; > > echo "bob=$bob<br>\n"; > ?> > > Produces: > > bob=Hello%20World<br> > stuff=Hello World<br> > bob=Hello World^@d<br> > > Where ^@ an unprintable null character. ascii value zero. > > > Any ideas? > > Cheers, > David. > > >

« previous php.general (#15737) next »