Added a note about PSR-0 to namespaces.

This commit is contained in:
Phil Sturgeon
2012-07-10 00:34:42 +01:00
parent 35e623e86b
commit e5674c2c6a

View File

@@ -27,7 +27,10 @@ _Namespaces_ solve this problem. As described in the PHP reference manual, names
It is important for you to namespace your code so that it may be used by other developers without fear of colliding with other libraries.
One recommended way to use namespaces is outlined in [PSR-0](psr0), which aims to provide a standard file, class and namespace convention to allow plug-and-play code.
* [Read about Namespaces][namespaces]
* [Read about PSR-0][psr0]
## Standard PHP Library
@@ -73,6 +76,7 @@ To run our script, above, from the command line:
[Back to Top](#top){.top}
[namespaces]: http://php.net/manual/en/language.namespaces.php
[psr0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
[oop]: http://www.php.net/manual/en/language.oop5.php
[spl]: http://php.net/manual/en/book.spl.php
[anonymous-functions]: http://www.php.net/manual/en/functions.anonymous.php