large-request.php 211 B

1234567891011
  1. <?php
  2. require_once __DIR__.'/_executor.php';
  3. return function () {
  4. printf(
  5. 'Request body size: %d (%s)',
  6. strlen(file_get_contents('php://input')),
  7. $_GET['i'] ?? 'unknown',
  8. );
  9. };