diff options
Diffstat (limited to 'php-src/tests/http/data.php')
-rw-r--r-- | php-src/tests/http/data.php | 18 |
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 |