summaryrefslogtreecommitdiffstats
path: root/querystring003.phpt
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-04-08 13:16:57 +0200
committerRemi Collet <fedora@famillecollet.com>2015-04-08 13:16:57 +0200
commit04cf9060785835e27da422a4e9a7620ea0b379a6 (patch)
treea26df79d93c2ea9141ca3ec67ed3f383db39e089 /querystring003.phpt
parentfd625bd2f9aaf79be4f0e5a4be6d492d52751564 (diff)
php-pecl-http: 2.4.3
Diffstat (limited to 'querystring003.phpt')
-rw-r--r--querystring003.phpt22
1 files changed, 22 insertions, 0 deletions
diff --git a/querystring003.phpt b/querystring003.phpt
new file mode 100644
index 0000000..a504174
--- /dev/null
+++ b/querystring003.phpt
@@ -0,0 +1,22 @@
+--TEST--
+querystring offset set
+--SKIPIF--
+<?php
+include "skipif.inc";
+?>
+--FILE--
+<?php
+
+echo "Test\n";
+
+$qs = new http\QueryString("foo=bar&bar=baz");
+echo $qs,"\n";
+$qs["foo"] = "baz";
+echo $qs,"\n";
+?>
+===DONE===
+--EXPECT--
+Test
+foo=bar&bar=baz
+foo=baz&bar=baz
+===DONE===