Chuck, you're using 'EOT' as heredoc start/end identifier, which is not included in the contents of string $a as you defined it.
With the following example (your code, modified) I get a syntax error: <?php $a = <<<EOT Hello WHEREOT EOT; echo "$a"; ?> Obviously it's valid code (afaik) and it works OK on other non-ubuntu PHP5 servers. -- HEREDOC fails when terminating string matches tail of HEREDOC string https://bugs.launchpad.net/bugs/238872 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs