PHP code that includes the opening PHP tag is automatically highlighted when placed inside the code tag. There is also a built-in “php” bbcode tag that will provide the same highlighting to any text within the tags.
This page belongs to the feature documentation of
SMF.