|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-12-07 11:00 UTC] tony2001@php.net
[2006-12-08 17:10 UTC] tony2001@php.net
[2006-12-08 17:50 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ parse_str() changed behaviour from PHP 5.14 to 5.2 in that it seems to apply the magic_quotes_gpc directive *twice*. Needless to say this causes heavy problems when using this function. Reproduce code: --------------- <?php $arr = array(); parse_str("this=%22probably+a+bug%22", $arr); echo $arr['this']; ?> Expected result: ---------------- \"probably a bug\" Actual result: -------------- \\\"probably a bug\\\"