i have just started using PHP on OS X and after i got it started i tried using some php scripts from a web site. i copied the code after viewing the source from Internet explorer.
when i tried to view the pages off of my server i got a parse error. after much fiddling around i used Bbedit to show hidden, invisible and space characters.
i re-typed some of the lines of code and found that the characters representing spaces for code that i cut and pasted was different than the code that i had typed manually.
i did a find and replace of all the spaces and tabs and i no longer have parse errors.
i am not sure who the culprit is, IE, Mac or ? but i think that is probably the same problem you are having.
pink