What are you using to edit your files? Some editors can damage PHP files by adding extraneous characters invisibly.