Publish your source code on web with colour syntax highlighting.
For example: How to send correct UTF-8 mail in PHP
This article is contain a PHP code what is syntax highlighted and all PHP function is link to PHP documentation. This code is more understandable, and more readable than simple colourless version.
How to set syntax highlighting on your website?
The answer is GeSHi (Generic Syntax Highlighter), what is open source and can syntax highlighting approximately 80 programming languages.