We know you have an opinion on how things should be run around here. These are suggestions for the forums, and the website.This forum is not a place to ask for suggestions to your own coding (or otherwise) problems.
For some reason the code highlighter is collapsing two lines to one in some cases. While normally this isn't too big of a problem, it does mess up closing tags of heredocs:
$test=<<<END_TEST
Hello DevNet
This is the same source used in the PHP example next;
END_TEST;
if ($foo=="e;bar"e;) // this if should not be on the same line as the END above
$test=<<<END_TEST
Hello DevNet
This is the same source used in the PHP example next;
END_TEST;
if ($foo=="bar") // this if should not be on the same line as the END above
Notice how Code 4&5 were collaposed to PHP 4. You can beat this by adding an extra newline between the HEREDOC end and the next statement, but that seems unusual.