diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http/memleak.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/http/memleak.php b/tests/http/memleak.php index 2df7ae63..197a7fb1 100644 --- a/tests/http/memleak.php +++ b/tests/http/memleak.php @@ -3,10 +3,9 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; -$mem = ''; - function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface { + $mem = ''; $mem .= str_repeat(" ", 1024*1024); return $resp; } |