I have a PHP source file where  characters automatically got added in! I don\'t know from where they have come. I\'m not getting any parse errors but it results in weird
You propably save the files as UTF-8 with BOM. You should save them as UTF-8 without BOM.