Merge branch 'v2.6.x'
[m6w6/ext-http] / tests / gh-issue7.phpt
diff --git a/tests/gh-issue7.phpt b/tests/gh-issue7.phpt
deleted file mode 100644 (file)
index 38e597c..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-crash with querystring and exception from error handler
---SKIPIF--
-<?php include "skipif.inc"; ?>
---GET--
-q[]=1&r[]=2
---FILE--
-<?php 
-echo "Test\n";
-
-set_error_handler(function($c,$e) { throw new Exception($e); });
-
-try {
-       $q = http\QueryString::getGlobalInstance();
-       var_dump($q->get("q","s"));
-} catch (\Exception $e) {
-       echo $e->getMessage(),"\n";
-}
-try {
-       $r = new http\Env\Request;
-       var_dump($r->getQuery("r", "s"));
-} catch (\Exception $e) {
-       echo $e->getMessage(),"\n";
-}
-
-?>
-===DONE===
---EXPECT--
-Test
-Array to string conversion
-Array to string conversion
-===DONE===