|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
16 + 5 = ?
Subscribe to this entry?

 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 26 13:01:27 2020 UTC