Description

Zend_Auth_Adapter_Http uses the {{hash()}} function, but does not check for presence of the hash extension. Even though this is a standard extension and is enabled by default in most distributions of PHP, we should consider checking for presence of the extension, and fail with an informative exception if it is not.

Comments

Posted by Darby Felton (darby) on 2007-09-20T15:50:39.000+0000

Graceful failure upon the unavailability of an extension applies to more than just Zend_Auth_Adapter_Http and the hash extension, since other components use extension functions unconditionally.

iconv - Zend_Currency, Zend_Locale, Zend_Pdf, Zend_Search, et al

mbstring - Zend_Feed

I'm sure there are many more examples, too. Shall we search for such cases and create additional issues?