Xaero wrote:Is it trying to interpret it as an html tag or something?
That depends on what you mean by "it."
PHP is a server-side language, so it doesn't know what an HTML tag is (okay, we're not talking about DOM stuff). Your browser, on the other hand, will of course interpret it as an HTML tag (isn't that how all other HTML tags look?).
If you want to actually output the <>'s without having them interpreted as HTML, then use their HTML-safe equivalents < or > respectively (e.g. by using [man]htmlentities/man).