Moved examples outside of the source
Formatted PHP code toward PSR-2 compliance