#45619 [Opn->Bgs]: parse_str() documentation
| From: | dmytton@php.net | Date: | Fri, 01 Aug 2008 11:24:54 +0000 |
| Subject: | #45619 [Opn->Bgs]: parse_str() documentation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1031@lists.php.net to get a copy of this message | ||
ID: 45619
Updated by: dmytton@php.net
Reported By: the_N_Channel at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Windows
PHP Version: Irrelevant
New Comment:
The delimiter is set in php.ini. Default is &. Change
arg_separator.input to suit your requirements.
Previous Comments:
------------------------------------------------------------------------
[2008-07-24 22:45:24] the_N_Channel at hotmail dot com
Description:
------------
The documentation on parse_str() does not specify the delimiter used to
parse the string. Given the examples authors quote in the comments
section, it appears to be &. W3C also recommends ";", however in my
trials I have not been able to make it work with ";". Is this delimiter
assumed to be "&" in the function body, is there a magic place where
this delimiter can be set? That kind of information seems like it should
be in the doc for the function.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45619&edit=1