GNU gettext - Bugs: bug #62158, PHP indented heredoc ending marker...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62158: PHP indented heredoc ending marker are not handled correctly
Submitter: | Cédric Anne <canne> | ||
Submitted: | Wed 09 Mar 2022 09:27:19 AM UTC | ||
Category: | PHP | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Thu 26 Jan 2023 11:36:39 PM UTC, comment #2: |
Bruno Haible <haible>![]() |
Thu 26 Jan 2023 09:40:06 PM UTC, comment #1: As far as I understand the code, maybe the fix could be simple as proposed in following diff.
|
Cédric Anne <canne> |
Wed 09 Mar 2022 09:27:19 AM UTC, original submission:
When PHP code contains heredoc ending markers that are indented (available since PHP 7.3), it seems that it is not detected. Result is that strings located in following code source are not extracted.
|
Cédric Anne <canne> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-03-09 | canne | Attached File | - | ![]() |
Added test.php, #52973 |
Attached File | - | ![]() |
Added test.po, #52974 |
Thanks for the report and patch. I'll look at it in a month or two.
To compile a GNU package, the simplest way it to download a tarball from ftp.gnu.org, unpack it, look at the DEPENDENCIES and INSTALL files, then run