Hi all !
Does anyone knows how to create an object destructor :
class connect {
function connect ($usr,$db,$pass) { // this is the constructor }
function ~connect () { //this doesnt work... } }
thanks all
I haven't seen a destructor anywhere in the manual, so I guess there is no such thing in php.