The components of the Zend frame, being free in pairs, are still connected. If you want to use the Zend_Mail component, for example, this will also require:
- Zend_mime
- Zend_exception
- Zend_validation
Zend_Validation will only load due to an email domain check.
So, the best option would be to include the entire Zend library. By pulling only a few components, you will soon find yourself in hellish hell, especially if you change the API (although this does not happen too often).
In addition, starting with version 2.0, you should use some autoloader to load Zend components, since all calls require removal from PHP classes.
Thatguy
source share