News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
DevShed:
The Autoload Magic Function in PHP 5
June 23, 2009 @ 07:56:57

DevShed has posted the latest article (the last) in their series looking at the "magic functions" that PHP has to offer. This time they take a closer look at the autoload functionality.

PHP 5 offers yet another magic method that can be extremely useful for loading classes automatically, without having to use explicitly any "include()/include_once()" or "require()/require_once()" function. As the article's title suggests, I'm talking specifically about the "__autoload()" function, which deserves a deeper analysis.

Their example shows how to define the __authoload method for your application to load in libraries as they're needed, without having to specifically define them.

0 comments voice your opinion now!
tutorial function magic autoload



Similar Posts

Chris Hartjes' Blog: Creating Usable Forms With Zend Framework

DevShed: Drawing More Complex Shapes with the GD Library in PHP

Symfony Blog: The "Practical symfony" book is now on sale

PHP-Coding-Practices.com: How To Generate Monochromatic CSS Stylesheets Within Seconds Using PHP

Tutorialzine.com: Advanced Event Timeline With PHP, CSS & jQuery


Community Events









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


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

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