I'm trying to start writing some of my code using heredoc strings instead of double-quote, but I'm running into an error.
I try to preview this file on my local machine and just get a blank page. But when I upload to my server. It works fine! I've checked for spaces, tabs, etc.... nothing.
Is there a place you can turn on/off heredoc code in php.ini?
I'm using Apache/1.3.33 (Darwin) PHP/5.0.4 on a G5 Mac with OS X Tiger
<?php
error_reporting(E_ALL);
echo <<<EOT
testing!!!
EOT;
?>
Any help would be appreciated! Thanks!