projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
limit the workaround for #84 to libcurl 7.63-7.64
[m6w6/ext-http]
/
tests
/
gh-issue11.phpt
1
--TEST--
2
crash when query string has nested array keys
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
php_version_compare(PHP_VERSION, "7.0.0-dev") or die("skip php<7");
7
?>
8
--FILE--
9
<?php
10
11
echo "Test\n";
12
13
$q = new http\QueryString("a[0][0]=x&a[1][0]=x");
14
printf("%s\n", $q);
15
16
?>
17
===DONE===
18
--EXPECT--
19
Test
20
a%5B0%5D%5B0%5D=x&a%5B1%5D%5B0%5D=x
21
===DONE===