ID:               43094
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at davinci-tec dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Strings related
 Operating System: FreeBSD
 PHP Version:      5.2.4
 New Comment:

t.php:

<?php
$arr = array();
parse_str("this=%22probably+a+bug%22", $arr);
echo $arr['this'];
?>

[EMAIL PROTECTED] ~]$ src/build/php_5_2/sapi/cli/php -dmagic_quotes_gpc=1
t.php
\"probably a bug\"

And that's the expected result. I'm using latest CVS checkout of
PHP_5_2 branch.


Previous Comments:
------------------------------------------------------------------------

[2007-10-24 14:19:04] info at davinci-tec dot de

Description:
------------
seems that Bug #39763 is back in PHP 5.2.4

i have the same behaviour as reported in the above bug report in 5.2.4.


as of 5.2.1 parse_str works as expected, now with 5.2.4 there are again
double applied magic quotes.

Reproduce code:
---------------
Bug #39763 

Expected result:
----------------
Bug #39763 

Actual result:
--------------
Bug #39763 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43094&edit=1

Reply via email to