zend-http
zend-http copied to clipboard
`Zend\Http\Response\PhpEnvironment#sendHeaders()` silently returns - should scream and burn and demand for human sacrifices instead
https://github.com/zendframework/zend-http/blob/b382c6e068a2d9c87b7cf0dfe78c6dd19e4ff197/src/PhpEnvironment/Response.php#L84
To reproduce (sorry if I couldn't do it myself right away - needs a @runInSeparateProcess test):
$response = new \Zend\Http\Response\PhpEnvironment();
echo 'foo;
ob_flush();
// expect an exception here
$response->sendHeaders();
This repository has been closed and moved to laminas/laminas-http; a new issue has been opened at https://github.com/laminas/laminas-http/issues/5.