ZF-11015: Zend_Controller_Request_HttpTestCase getHeader() return type should default to false


Zend_Controller_Request_HttpTestCase::getHeader($header, $default = null)

It would be reasonable to assume that the default return type of this class should match the default return type of Zend_Controller_Request_Http::getHeader($header) which is false.

I propose changing the method declaration to the following: Zend_Controller_Request_HttpTestCase::getHeader($header, $default = false)

Thanks so much,



In which version did you experience this? I'm running the latest now (1.11.7) and it appears to be fixed already?