startup and shutdown functions can be used for onetime initialization and deinitialization of your modules as discussed earlier in this chapter see the description of the zend module descriptor block there are module and request startup and shutdown events 