Why is it important to use [php]-Code Tags when posting PHP code in a forum?

Using [php] code tags when posting PHP code in a forum is important because it helps to properly format and highlight the code, making it easier for others to read and understand. This also helps to prevent any syntax errors caused by the forum's text formatting. Additionally, using code tags ensures that the PHP code is displayed correctly and not interpreted as HTML or plain text.

<?php
// Example PHP code snippet using [php] code tags
echo "Hello, World!";
?>