Try unchecking these two boxes under Writing/Formatting:
[] Convert emoticons like ?? and ?? to graphics on display
[] WordPress should correct invalidly nested XHTML automatically
I spent too much time testing plug-in compatibility issues – unchecking those two boxes stopped breaking the php tags and now it all works fine (assuming you have the visual editor turned off).
RS