php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79361 Failure to mention BC breaking changes due PCRE2 upgrade
Submitted: 2020-03-09 18:27 UTC Modified: 2020-05-17 15:50 UTC
From: jakob at givoni dot dk Assigned:
Status: Open Package: PCRE related
PHP Version: 7.3.15 OS:
Private report: No CVE-ID: None
 [2020-03-09 18:27 UTC] jakob at givoni dot dk
Description:
------------
---
From manual page: https://php.net/migration73.incompatible
---
The section "Backward Incompatible Changes" on https://wiki.php.net/rfc/pcre2-migration
mentions many issues that would be nice to know before upgrading.
At the very least a link to this section should be provided on this migration page.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-12 09:12 UTC] nikic@php.net
Is there anything in particular that requires documentation here? Did you encounter some specific issue? The quoted section is mostly concerned with changes that are not user-visible.
 [2020-03-14 10:29 UTC] cmb@php.net
There is also a short section about the PCRE ugrade elsewhere in
the migration guide:
<https://www.php.net/manual/en/migration73.other-changes.php#migration73.other-changes.pcre>
 [2020-05-17 15:50 UTC] jakob at givoni dot dk
I feel I have answered to Nikita's question back in March, but as I don't see my comment here in the bug report, maybe something failed before it got submitted.

Anyway, the answer is yes, I encountered a specific issue after upgrading that I would have paid more attention to during upgrade, had I seen that my regexes might potentially break. I don't remember the exact error message anymore.

I know there's mention of changes to PCRE elsewhere, but I think it would be proper to put a link on https://php.net/migration73.incompatible pointing to https://wiki.php.net/rfc/pcre2-migration

If you want, I can submit the patch myself. Should I wait until the status changes to verified?
 [2023-01-24 11:13 UTC] bayerruff at gmail dot com
That was so amazing. 

(https://www.hpinstantink.org/)github.com
 [2023-08-22 10:03 UTC] trankhoaitayto012 at gmail dot com
Thanks for share !!   (https://github.com.php)(https://www.paybyplatema.ltd/)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 17:01:28 2024 UTC