News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
DevShed:
Magic Functions in PHP 5
May 27, 2009 @ 08:42:38

In this new tutorial on DevShed they take a look at a feature added in PHP5 to help makes developers' lives easier - magic functions. These magic functions (like __get and __set) can help you catch things a bit closer to the execution of the language than an if or other conditional could and to do some very fun things.

It's not breaking news that the release of PHP 5 drastically changed the way that many developers build their web-based programs. The incorporation of a much more robust object model, along with the introduction of native exceptions, type hinting and so forth (add your own improvement to the list) has given the language the maturity that we see in it today. This seven-part article series will explain an important new feature: magic functions.

This first part of the series looks at __get and __set and how to use them for property overloading in a class.

0 comments voice your opinion now!
tutorial function magic



Similar Posts

DevShed: Accessing Attributes and Cloning Nodes with the DOM XML Extension in PHP 5

Joshua Eichorn's Blog: HTML_AJAX Wordpress Plugin Tutorial

Community Crosstalk: Matthew O'Phinney & Scott Johnson on Dynamic Function/Method Calls

Padraic Brady's Blog: Mysteries Of Asynchronous Processing w/PHP - Pt 3: Spawned Child Processes

Community News: Zipline Interactive Updates PHP Function Finder (Windows Gadget)


Community Events









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


microsoft framework developer podcast feature opinion apache release sqlserver drupal wordpress windows job facebook conference performance extension zendframework codeigniter symfony

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