News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
DevShed:
Implementing Destructors with Multiple Objects in PHP 5
January 23, 2008 @ 14:57:00

DevShed has posted part two in their series looking at the use of destructors in PHP5. This time they focus on their use with multiple objects inside of an application.

Destructors can be used in all sorts of clever ways in the context of a given PHP 5 application, mostly in those cases where it's necessary to keep track of the status of certain objects prior to their being destroyed by the PHP interpreter. In this second chapter you'll learn how to work simultaneously with multiple classes that concretely implement their respective destructors.

They revisit their previous example with a simple class that's then extended to allow the flexibility to call the same destructor on multiple instances.

0 comments voice your opinion now!
destructor class user data multiple tutorial



Similar Posts

Symfony Blog: Security must be taken seriously

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

DevShed: Creating an Administration Area for a Simple Threaded Discussion Forum

php|architect: How can I help you?

GoodPHPTutorials.com: SQL Injections in PHP with MySQL


Community Events







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


cakephp conference release example application zend developer mysql book security job PEAR zendframework PHP5 package database code releases framework ajax

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