|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77936 preg_match failed
Submitted: 2019-04-24 20:11 UTC Modified: 2019-04-24 20:38 UTC
From: v-altruo at microsoft dot com Assigned:
Status: Duplicate Package: PCRE related
PHP Version: 7.2.18RC1 OS: Windows 10
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: v-altruo at microsoft dot com
New email:
PHP Version: OS:


 [2019-04-24 20:11 UTC] v-altruo at microsoft dot com
Failed regardless of OPCache being enabled or disabled and if it was TS or NTS. 

Test script:
setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese');
var_dump(preg_match('/^\w{6}$/', 'aאבחיט'));

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-24 20:30 UTC] v-altruo at microsoft dot com
Test file location: ext\pcre\tests\locales.phpt
 [2019-04-24 20:38 UTC]
-Status: Open +Status: Duplicate
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 15:01:35 2024 UTC