Autoloading in PHP and the PSR-0 Standard via @phpmasterdotcom http://t.co/nzQIeEIg via @sharethis
November 12, 2012
PHP Master | Autoloading in PHP and the PSR-0 Standard
Let's say you have the file Rectangle.php which contains the definition for a Rectangle class. Before you can create an instance of the object elsewhere in your code, you first need to pull in the Rectangle.php file, perhaps by writing something like this: