News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Understanding Destructors in PHP 5
January 17, 2008 @ 09:31:00

DevShed has started up yet another PHP-related series today with this new tutorial covering part of PHP5's object functionality - destructors.

This article, the first part of a five-part series, introduces you to destructors and their use with PHP 5 programs. [...] The word "destructor" relates to certain methods or functions of a determined programming language that are responsible for destroying data that, in the context of that particular language, shouldn't exist any longer.

They create a sample class (for storing user information) and show how to integrate a destructor to remove all traces of the user's information from the properties of the class.

0 comments voice your opinion now!
destructor php5 class tutorial example user information destructor php5 class tutorial example user information


blog comments powered by Disqus

Similar Posts

Fabien Potencier's Blog: Create your own framework...on top of the Symfony2 Components (parts 3 & 4)

Benjamin Eberlei's Blog: Using Zend_Soap Server and Autodiscover in a Controller

Leon Chevalier's Blog: Improve website load time by 500% with 3 lines of code

Paul Jones' Blog: Memory Leaks With Objects in PHP 5

PHP-Tools Blog: Der Zauberlehrling - Sorcerer's Apprentice


Community Events





Don't see your event here?
Let us know!


developer threedevsandamaybe list symfony podcast framework configure interview language api library application introduction release wordpress install code community series unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework