frankenphp/testdata/input.php
Kévin Dunglas 7d81fa51fe
feat: add a woker mode (#1)
* refactor: better memory management

* wip

* tmp

* introduce a go-like api

* upgraded to PHP 8.2

* Fix thread safety issues

* fix tests

* wip

* refactor worker

* worker prototype

* fix populate env

* session

* improve tests

* fix Caddy tests

* refactor
2022-05-18 11:52:24 +02:00

10 lines
139 B
PHP

<?php
require_once __DIR__.'/_executor.php';
return function () {
header('Foo: bar');
echo file_get_contents('php://input');
};