Bug #77936 [Opn]: preg_match failed
| From: | v-altruo at microsoft dot com | Date: | Wed, 24 Apr 2019 20:30:13 +0000 |
| Subject: | Bug #77936 [Opn]: preg_match failed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220587@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77936&edit=1
ID: 77936
User updated by: v-altruo at microsoft dot com
Reported by: v-altruo at microsoft dot com
Summary: preg_match failed
Status: Open
Type: Bug
Package: PCRE related
Operating System: Windows 10
PHP Version: 7.2.18RC1
Block user comment: N
Private report: N
New Comment:
Test file location: ext\pcre\tests\locales.phpt
Previous Comments:
------------------------------------------------------------------------
[2019-04-24 20:11:25] v-altruo at microsoft dot com
Description:
------------
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:
----------------
int(1)
Actual result:
--------------
int(0)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77936&edit=1