I have recently loaded php-5.1.4 on my mac osx and am having trouble with most of the pages that used to work fine on external servers (dreamhost, etc). I feel like I have narrowed it down to my usage of <<<__HTML_END. Here is an example:
<?php echo <<<__HTML_END <html> <head></head> <body> <p>HELP I NEED CONTENT</p> </body> </html> __HTML_END; ?>
If I view this page I get this error:
Parse error: parse error, unexpected $ in /Library/WebServer/Documents/Internestcollective/test_HTML_END.php on line 9
Is there something I am missing? Do I need to change something in my php.ini? Have I not loaded php-5.1.4 correctly (perhaps a question for a different forum)?