summaryrefslogtreecommitdiff
path: root/tests/it_url.testserver.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/it_url.testserver.php')
-rw-r--r--tests/it_url.testserver.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/it_url.testserver.php b/tests/it_url.testserver.php
index fe90fcb..8763d6f 100644
--- a/tests/it_url.testserver.php
+++ b/tests/it_url.testserver.php
@@ -55,6 +55,11 @@ switch ($_SERVER['PHP_SELF'])
echo $_SERVER[$_REQUEST['key']];
break;
+ case "/repeat":
+ for ($i = 0; $i < $_REQUEST['num']; $i++)
+ echo $_REQUEST['string'];
+ break;
+
default:
fwrite($stderr, "Unknown path '$_SERVER[PHP_SELF]' not handled!\n");
}