terminate()

Description

bool terminate (void)

Terminates the class and the connection before script end. If this is forgotten, no harm is done as PHP will clean up after script completion. If You however want to destroy the class, this is the method to use.

Examples

Example of how to destroy the class.


... instantiate and use class ...

$search->terminate();