07-15-2008, 10:34 AM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Apr 2008
Location: Cloud 9
Posts: 19
Thanks: 0
|
When is __destruct() called?
Hi,
I'm I've been programming in PHP4 for a few years now and am slowly moving over to PHP5, I was wondering when developing a class when the __destruct() function is called? I have put all my closing connections in it, and tried to print to screen for confirmation but it doesn't print anything.
Any thoughts?
Thanks in advance
|
|
|
|