tags:

views:

55

answers:

2

what is autoload in PHP?

+2  A: 

Here is the official documentation: http://php.net/autoload

In short, it just allows you to define search paths for classess so you wouldn't be required to include the files containing them manually.

I suggest you should develop a habit of searching php.net by just appending function names or obvious keywords to the address. That's how I found php.net/autoload. It's quite convenient like that.

Reinis I.
+2  A: 

This might be helps you about usage of autoload. http://ditio.net/2008/11/13/php-autoload-best-practices/

Osman Üngür