|
Posted by jdbartlett on 06/21/06 21:00
After switching text editors, my code started causing mysterious PHP
errors. I narrowed the problem down to the Unicode line endings I
started using with the new text editor: when I save documents using
unicode line endings, PHP no longer registers the line endings, meaning
that:
<?php
echo "Hello World!";
?>
registers as:
<?phpecho "Hello World!";?>
I've verified that I'm using correct unicode line endings. PHP accepts
all files without problem when they are saved using Unix/DOS line
endings, but unicode line endings really seem to confuse it.
Does anyone know what could be causing this? Are there any known fixes?
Thanks for any help - I'm pulling hair out over this one.
Navigation:
[Reply to this message]
|