Doc #78312 [Fbk->Asn]: Different results between 7.3.7 and 7.4
| From: | oleg at andreyev dot lv | Date: | Fri, 19 Jul 2019 17:38:44 +0000 |
| Subject: | Doc #78312 [Fbk->Asn]: Different results between 7.3.7 and 7.4 | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16836@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78312&edit=1
ID: 78312
User updated by: oleg at andreyev dot lv
Reported by: oleg at andreyev dot lv
Summary: Different results between 7.3.7 and 7.4
-Status: Feedback
+Status: Assigned
Type: Documentation Problem
Package: PCRE related
Operating System: Linux
PHP Version: 7.4Git-2019-07-19 (Git)
Assigned To: sjon
Block user comment: N
Private report: N
New Comment:
As Nikita mentioned only UNMATCHED_AS_NULL is covered and OFFSET_CAPTURE was missed (probably other
cases are also missed)
Previous Comments:
------------------------------------------------------------------------
[2019-07-19 15:53:26] nikic@php.net
This specific case doesn't seem to be mentioned in UPGRADING (it currently only discusses the
UNMATCHED_AS_NULL case), so that at least should be added.
------------------------------------------------------------------------
[2019-07-19 14:44:57] requinix@php.net
It will be documented in the function's Changelog and the 7.4 migration guide. That is how
these sorts of changes are always handled. Anyone blindly upgrading their codebase to 7.4, or any
new version series, is shooting themselves in the foot.
Is that acceptable? If not then what are you asking for to happen?
------------------------------------------------------------------------
[2019-07-19 14:41:36] oleg at andreyev dot lv
This is something that I would like to see highlighted because it can affect all templating engines
who has some Lexers e.g.: Twig
------------------------------------------------------------------------
[2019-07-19 14:12:17] requinix@php.net
What's more, this is mentioned by NEWS and UPGRADING so it's not like this change has been
forgotten...
------------------------------------------------------------------------
[2019-07-19 12:59:00] sjon@php.net
Actually the output in 7.4 seems to be correct as before the offset was completely missing. This was
fixed in Bug #73948
also - the output in 7.4 actually matches the documentation better - don't you agree?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78312
--
Edit this bug report at https://bugs.php.net/bug.php?id=78312&edit=1