Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I destroy an object? 1

Status
Not open for further replies.

laurin1

MIS
Apr 28, 2003
77
US
class test{

var sTest;

function fncTest(){

dosomething;

}

}

$oMyObject = new test;

How do I delete $oMyObject?

Keith Davis
MCSA, A+, N+, Guru+, Geek+, Child of God++++++
Love and Service
 
this should do it
Code:
$oMyObject = NULL;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top