if I initiate a class and set a load of variables in it can I get rid of it all simpy by by using the following: unset($my_class); ??? thanks
If you instantiate a class... $my_object = new myClass(); ...then you can destroy the object you created, along with all of its properties using unset: unset($my_object);