zendframework/zf2 — pull request #2330 by lowcoders (2012-09-10 15:41:04+00:00)
Title: ZF2-541 Zend\Log\Writer\Stream cannot be used in error handlers

Including testcase http://framework.zend.com/issues/browse/ZF2-541

In the fix, we propose to skip the use of Zend\StdLib\ErrorHandler - the only loss is that we don't get much detail on why fwrite might fail. Tests are passing with that modification and now you can use a \Zend\Log\Logger writing to a stream to report php errors !