timeout.php 213 B

1234567891011121314
  1. <?php
  2. require_once __DIR__.'/_executor.php';
  3. return function () {
  4. printf("request: %d\n", $_GET['i'] ?? 'unknown');
  5. set_time_limit(1);
  6. $x = true;
  7. $y = 0;
  8. while ($x) {
  9. $y++;
  10. }
  11. };