mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
13 lines
216 B
PHP
13 lines
216 B
PHP
<?php
|
|
require_once __DIR__.'/_executor.php';
|
|
|
|
return function() {
|
|
$fiber = new Fiber(function() {
|
|
Fiber::suspend('Fiber '.($_GET['i'] ?? ''));
|
|
});
|
|
echo $fiber->start();
|
|
|
|
$fiber->resume();
|
|
};
|
|
|