diff options
author | Wolfy-J <[email protected]> | 2018-06-13 22:24:57 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-13 22:24:57 +0300 |
commit | af6869588e3128b502d308fc630f9853db2ec24b (patch) | |
tree | c321e57c75ea72d9a20c30dc3521cc699a5d885c /php-src/tests | |
parent | df4c11fb59b8ffca369f14eededda82884ee4dad (diff) |
more tests + rpc tests
Diffstat (limited to 'php-src/tests')
-rw-r--r-- | php-src/tests/http/pid.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-src/tests/http/pid.php b/php-src/tests/http/pid.php new file mode 100644 index 00000000..1cc322bf --- /dev/null +++ b/php-src/tests/http/pid.php @@ -0,0 +1,11 @@ +<?php + +use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\ServerRequestInterface; + +function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface +{ + $resp->getBody()->write(getmypid()); + + return $resp; +}
\ No newline at end of file |