sorry for the noise - having gone back and tested again I can
no longer reproduce my original problem (the OP seemingly had the
same issue).
whatever problem I was having, related to encoding of square brackets,
seems to have disappeared. sometimes I feel like I'm living in the twilight
zone :-P
Michael Wallner schrieb:
Jochem Maas wrote:
"expected" means that I get
array(1) {
["a"]=>
array(1) {
[0]=>
string(1) "1"
}
}
for get.php?a%5B%5D=1
damn! a vanilla example works fine for me too.
looks this happens only under certain conditions.
i'll look at it again and rep
Jochem Maas wrote:
> I'll take your word on it (although I can't be sure exactly what it is that
> you expected),
> which means the change has been reverted, or the input parsing stuff has been
> changed to
> recognize escaped square brackets as if they were not escaped - I know for
> sure
> th
Michael Wallner wrote:
> Jochem Maas wrote:
>
>> $args = array('foo' => array('bar' => array(1,2,3), 'quz' => array(1,2,3)));
>> echo '/foo.php?'.http_build_query($args);
>>
>>
>> foo.php --- 8< ---
>>
>> var_dump($_GET['foo']);
>>
>>
>> the var_dump() output used to be a neat nested array, but si
Jochem Maas wrote:
the var_dump() output used to be a neat nested array, but since 5.1.3 [although
I remember
it as 5.1.6] http_build_query() makes htmlentities of the square brackets so
therefore
the var_dump() gives you a string.
It's in the changelog for 5.1.3:
* Fixed bug #36656 (http_bui
Jochem Maas wrote:
> $args = array('foo' => array('bar' => array(1,2,3), 'quz' => array(1,2,3)));
> echo '/foo.php?'.http_build_query($args);
>
>
> foo.php --- 8< ---
>
> var_dump($_GET['foo']);
>
>
> the var_dump() output used to be a neat nested array, but since 5.1.3
> [although I remembe
Antony Dovgal wrote:
> On 04/27/2007 04:35 PM, elias wrote:
>> Hi,
>>
>> why has the support for http arrays (bracket syntax) been removed in
>> PHP 5.1.3 ? Yes [] not allowed by according RFC, but is that a
>> reason for an BC break? Is it an accident or harassment?
>
> What are you talking abo
On 04/27/2007 04:35 PM, elias wrote:
Hi,
why has the support for http arrays (bracket syntax) been removed in PHP
5.1.3 ? Yes [] not allowed by according RFC, but is that a reason for
an BC break? Is it an accident or harassment?
What are you talking about?
--
Wbr,
Antony Dovgal
--
PHP
Hi,
why has the support for http arrays (bracket syntax) been removed in PHP
5.1.3 ? Yes [] not allowed by according RFC, but is that a reason for
an BC break? Is it an accident or harassment?
patrick
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.