|
From: | Javier Alfonso Bellota de Frutos |
Subject: | Re: gettext fails to parsed PHP 7.3 relaxed heredoc and phpdoc |
Date: | Thu, 18 Feb 2021 13:13:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
Hello,It also affects me. All the text that is below the new flexible heredocs isn't parsed.
For example, something like this: <?php echo _("I'm parsed"); $html = <<<HTML <strong>something</strong> HTML; echo _("this isn't extracted"); ?>Note that the end tag of the heredoc has spaces before it. This is syntactically correct since PHP 7.3.
This bug makes Gettext incompatible with PHP greater or equal to 7.3 and when happens it doesn't show any error which makes it worse.
[Prev in Thread] | Current Thread | [Next in Thread] |