|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63284 Please upgrade PCRE
Submitted: 2012-10-16 06:11 UTC Modified: 2013-03-15 14:18 UTC
From: danielklein at airpost dot net Assigned: ab
Status: Closed Package: PCRE related
PHP Version: 5.4.7 OS:
Private report: No CVE-ID:
 [2012-10-16 06:11 UTC] danielklein at airpost dot net
Please upgrade PCRE. Version 8.12 is very old (15-Jan-2011). Current version is 8.31 (06-July-2012).


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-17 21:13 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: ab
 [2012-10-18 10:14 UTC]
Please try the patch from here

Tested all the permutations of linux/windows 5.3/5.4/master ts/nts and all the PCRE tests pass for me.

Note that config.m4 and config.w32 was changed, so buildconf --force is needed for this to be compiled correctly.
 [2012-10-18 12:33 UTC] nicolas dot grekas+php at gmail dot com
This is a good idea!
Could we wait just a little for 8.32 to be released?
8.32 will support Unicode Extended Grapheme Clusters with \X and I think this is good for PHP's unicode support.
 [2012-10-18 14:44 UTC]
Well, if you look at the PCRE release frequency, it vary from one month to one year. 8.32 will surely come some when :)
 [2012-10-18 23:43 UTC] danielklein at airpost dot net
Can the latest PCRE be included in PHP every time it's released?
 [2012-10-19 01:32 UTC]
I built PHP_5_4 (newest snapshot) with your patch.

I tested it with all the PHPTs (all, including the PCRE tests) and all the PHPUnit tests from Joomla and found no regressions. I got no additional test failures after I applied your patch.
 [2012-10-19 08:05 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #63284 PCRE upgrade to 8.31
 [2012-10-19 08:05 UTC]
-Status: Assigned +Status: Closed
 [2012-10-19 08:34 UTC]
Thanks for testing )

Theoretically it can be done, depends how much of other things one has on the plate right now. If you're highly interested having the newest PCRE, monitor it and do requests - later or sooner they'll be taken on )
 [2012-12-20 14:07 UTC] nicolas dot grekas+php at gmail dot com
Version 8.32 is out !
 [2012-12-20 23:46 UTC] danielklein at airpost dot net
Good news Nicolas! I'm assuming this will need another change request to make it into a future version of PHP.
 [2013-03-13 09:02 UTC]
pcre 8.32 was merged a few weeks ago )
 [2013-03-14 22:37 UTC] danielklein at airpost dot net
Thanks ab. Are you monitoring this at the moment? It seems silly to raise a new request for every version of PCRE if someone is already taking care of it.
 [2013-03-15 14:18 UTC]
@danielklein, this time upgrade was done in hope to fix a bug, with was then something else anyway :) so it's still better to make a PR, especially if there are some important fixes there.
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 16 22:02:05 2014 UTC