[Bug 238872] Re: HEREDOC fails when terminating string matches tail of HEREDOC string
David
david at nuteca.com
Mon Jun 16 16:23:10 BST 2008
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.
More information about the Ubuntu-server-bugs
mailing list