|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78211 preg_match mismatch
Submitted: 2019-06-25 18:03 UTC Modified: 2019-06-25 18:14 UTC
From: v-altruo at microsoft dot com Assigned:
Status: Duplicate Package: Testing related
PHP Version: 7.3.7RC3 OS: Windows
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-06-25 18:03 UTC] v-altruo at microsoft dot com
Test fails only for TS builds regardless of opcache on/off. This test also fails for php-7.4.0alpha1.

Failed Test File: tests\basic\bug71273.phpt

Test script:
/* NOTE this file is required to be encoded in iso-8859-1 */

$cmd = getenv('TEST_PHP_EXECUTABLE') . " -n -d html_errors=on -d extension_dir=a/é/w -d extension=php_kartoffelbrei.dll -v 2>&1";
$out = shell_exec($cmd);

var_dump(preg_match(",.+a[\\/].+[\\/]w.php_kartoffelbrei.dll.+,s", $out));

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-06-25 18:14 UTC]
-Status: Open +Status: Duplicate
 [2019-06-25 18:14 UTC]
Duplicate of bug #78118
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 03:03:42 2022 UTC