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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Destroying Objects

Status
Not open for further replies.

Naoise

Programmer
Dec 23, 2004
318
IE
Objects that I have created from classes, do they need to be destroyed (how is this done??) or is garbage collection an issue in PHP?
 
memory taken by objects will be freed once the script terminates.

you can always manually do the same by unset() or assigning the object to NULL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top