This module provides a simple text format (input filter) that handles <?php ?> and <code></code> tags so that users can post code without having to worry about manually escaping
> characters with < and >
For PHP code, this module also adds syntax highlighting. For example:
print "Hello, world!";
This module is used on drupal.org.
This module has a handbook page; you can refer to it for more detailed documentation.