[Bug 238872] Re: HEREDOC fails when terminating string matches tail of HEREDOC string

Chuck Short chuck.short at canonical.com
Mon Jun 16 15:51:52 BST 2008


Seems to be fine for me:

<?php

$a = <<<EOT
Hello
WHERE;

EOT;

echo "$a";
?>

-- 
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