|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-12-15 02:43 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
-Package: PHP Language Specification
+Package: Strings related
[2015-12-15 02:43 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 06:00:02 2025 UTC |
Description: ------------ parse_str returns a wrong result if param start with dot (.) parse_str('.a=1&.b=2', $arr); This issue happend in whole versions of php. Test script: --------------- parse_str('.a=1&.b=2', $array); Expected result: ---------------- Array ( [.a] => 1 [.b] => 2 ) Actual result: -------------- Array ( [_a] => 1 [_b] => 2 )