I found some odd behavior in modx 1.0.3 that broke a snippet I created in 0.9.6.2 .
I now know that according to this page,
http://wiki.modxcms.com/index.php/Creating_Snippets at the bottom of the page, that I should always use the long php tag. But before learning how to code better in php, I used the short php tags.
This is what I found that won’t work in 1.0.3 . If you use the long php tag and keep the syntax on one line it doesn’t output correctly. So the below code outputs like this: "echo $var; ?>"
However, if I use short php tags like below or put the code on seperate lines like below it works.
<? echo $var; ?>
<?php
echo $var;
?>
Maybe there is something I am missing about how to properly code in php because I never went to school for it, but just thought it was weird that it did this.