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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to