How can code tags be used to display source code in PHP forums for better readability?

To display source code in PHP forums for better readability, code tags can be used. This helps to distinguish the code from the rest of the text and makes it easier for readers to follow. To use code tags, simply enclose the code within [code] [/code] tags in the forum post.

[code]
<?php
// Your PHP code here
echo "Hello, World!";
?>
[/code]