DevShed: The Autoload Magic Function in PHP 5

Courtesy PHPDeveloper.org  Tue, 06/23/2009 - 06:56

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.

...


 

More related items

DevShed: Checking Boolean Values with Filters in PHP 5
DevShed continues their look at filtering in PHP5 applications with this third part covering checks on boolean values. As I said before, the filter extension can be used for more than...

DevShed: The Isset and Unset Magic Functions in PHP 5
DevShed continues their series on the "magic functions" in PHP with this new tutorial, a closer look at the __isset and __unset functions. Overloading properties is only one of the many...

DevShed: Sanitizing Strings with Filters in PHP 5
DevShed rounds the final corner on their sanitizing user input series of tutorials with the eighth part, a look at filtering inputted strings to remove potentially dangerous issues. In...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com