summaryrefslogtreecommitdiff
path: root/php-src/tests/http/data.php
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-23 14:00:08 +0300
committerWolfy-J <[email protected]>2018-09-23 14:00:08 +0300
commitf7d64d8e8592951ed5a0f0b06db608bc73786ea2 (patch)
tree1bdef1618288221495f1f38bb528e71cca907e2e /php-src/tests/http/data.php
parent4815ebb760672c7fa541c941d7f47cd316656020 (diff)
- new directory structure
- singular exception - starting exception deprecation
Diffstat (limited to 'php-src/tests/http/data.php')
-rw-r--r--php-src/tests/http/data.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/php-src/tests/http/data.php b/php-src/tests/http/data.php
deleted file mode 100644
index c5e0bab0..00000000
--- a/php-src/tests/http/data.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-use Psr\Http\Message\ResponseInterface;
-use Psr\Http\Message\ServerRequestInterface;
-
-function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
-{
-
- $data = $req->getParsedBody();
-
- ksort($data);
- ksort($data['arr']);
- ksort($data['arr']['x']['y']);
-
- $resp->getBody()->write(json_encode($data));
-
- return $resp;
-} \ No newline at end of file