|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-03-12 09:11 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 05:00:01 2025 UTC |
Description: ------------ parse_str() quotes array keys when magic quotes are turned ON (it actually quotes also values, but it is probably (but unfortunatelly) desired behavior) Reproduce code: --------------- parse_str( 'a["key"]=something', $arr); print_r($arr); Expected result: ---------------- Array ( [a] => Array ( ["key"] => something ) ) or maybe Array ( [a] => Array ( [key] => something ) ) Actual result: -------------- Array ( [a] => Array ( [\"key\"] => something ) )