So whats so good about __construct()?
View Single Post
11-20-2007, 12:32 AM
La Vida es Sueño
Join Date: Sep 2007
Destruct is called anyway when a script ends and so unsetting variables is quite unnecessary. Though many coders do like:
It's not required at all. I've used it a few times to perform further actions when objects are destroyed, but apart from that, I stay clear.
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
View Public Profile
Send a private message to Wildhoney
Visit Wildhoney's homepage!
Find More Posts by Wildhoney