Thread
:
Deconstructor In PHP Classes
View Single Post
Oct 24th, 2007, 6:02 PM
#
7
Grich
Hobbyist Programmer
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 191
Rep Power:
2
Re: Deconstructor In PHP Classes
So, a destructor is like this:
(
Toggle Plain Text
)
function __destruct();
function __destruct();
And will unset the class and its attributes.
__________________
SYNTAX ERROR ...
Grich
View Public Profile
Find More Posts by Grich