MCPcopy Create free account
hub / github.com/error311/FileRise / captureControllerOutput

Function captureControllerOutput

tests/security/auth_security_regressions.php:67–72  ·  view source on GitHub ↗
(callable $callback)

Source from the content-addressed store, hash-verified

65}
66
67function captureControllerOutput(callable $callback): string
68{
69 ob_start();
70 $callback();
71 return (string)ob_get_clean();
72}
73
74if (!function_exists('getallheaders')) {
75 function getallheaders(): array

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected