value; } } function typephp_integration_request_transform(string $value): string { return 'even-handler[' . $value . ']'; } } else { final class TypePhpIntegrationRequestValue { public function __construct(private int $value) { } public function render(): string { return 'odd:' . $this->value; } } function typephp_integration_request_transform(string $value): string { return 'odd-handler[' . $value . ']'; } } header('Content-Type: application/json'); echo json_encode([ 'request' => $request, 'results' => [ typephp_integration_probe($request), typephp_integration_probe($request), ], 'main_registered' => function_exists('main'), 'pid' => getmypid(), ], JSON_THROW_ON_ERROR);