php-src/ext
Christoph M. Becker f3ff72e54b Fix #77937: preg_match failed
On some recent Windows systems, ext\pcre\tests\locales.phpt fails,
because 'pt_PT' is accepted by `setlocale()`, but not properly
supported by the ctype functions, which are used internally by PCRE2 to
build the localized character tables.

Since there appears to be no way to properly check whether a given
locale is fully supported, but we want to minimize BC impact, we filter
out typical Unix locale names, except for a few cases which have
already been properly supported on Windows.  This way code like

  setlocale(LC_ALL, 'de_DE.UTF-8', 'de_DE', 'German_Germany.1252');

should work like on older Windows systems.

It should be noted that the locale names causing trouble are not (yet)
documented as valid names anyway, see
<https://docs.microsoft.com/en-us/cpp/c-runtime-library/locale-names-languages-and-country-region-strings?view=vs-2019>.
2019-06-11 08:42:32 +02:00
..
bcmath Fixed bug #77742 2019-03-14 17:24:50 +01:00
bz2 Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
calendar Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
com_dotnet Fix #77578: Crash when php unload 2019-03-18 19:21:38 +01:00
ctype Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
curl Fix test regarding Unix Domain Sockets on Windows 2019-06-06 14:59:58 +02:00
date Add a test for bug #65672 2019-05-30 18:55:42 +01:00
dba Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
dom Fix #78025: segfault when accessing properties of DOMDocumentType 2019-05-17 13:31:18 +02:00
enchant Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
exif Merge branch 'PHP-7.1' into PHP-7.2 2019-05-27 17:28:20 -07:00
fileinfo Update libmagic.patch [ci skip] 2018-11-10 22:01:49 +01:00
filter Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
ftp Fix bug #77680: Correctly implement recursive mkdir on FTP stream 2019-03-25 17:43:46 +01:00
gd Fix function name 2019-05-27 17:20:56 -07:00
gettext Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
gmp Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
hash Merge branch 'PHP-7.1' into PHP-7.2 2019-04-06 19:05:37 -07:00
iconv Merge branch 'PHP-7.1' into PHP-7.2 2019-05-27 16:49:19 -07:00
imap Merge branch 'PHP-7.1' into PHP-7.2 2018-12-03 00:42:50 -08:00
interbase Fixed bug #72175 2019-03-25 16:41:21 +01:00
intl Change ZPP only if compiled with ICU >= 64 2019-06-01 02:18:56 +02:00
json Fixed bug #77843 2019-04-23 12:43:07 +02:00
ldap Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
libxml Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
mbstring Fix key leaks in mb_convert_encoding() 2019-04-12 10:36:58 +02:00
mysqli Fix #77956 - When mysqli.allow_local_infile = Off, return a client error 2019-05-22 12:44:55 +02:00
mysqlnd Fixed bug #38546 2019-06-07 09:48:43 +02:00
oci8 Correct skipif use for OCI8 password tests 2019-02-20 11:10:57 +11:00
odbc Merge branch 'PHP-7.1' into PHP-7.2 2018-10-30 00:22:26 +01:00
opcache Fixed possible misalignment in 32-bit build. 2019-06-10 12:51:59 +03:00
openssl Clear errors after SSL_CTX_load_verify_locations() 2019-06-03 15:14:01 +02:00
pcntl Make pid & uid available while handling realtime signals 2019-02-12 10:09:33 +01:00
pcre Fix #77827: preg_match does not ignore \r in regex flags 2019-03-31 13:31:54 +02:00
pdo Follow up #77849 PDOStatement objects in undefined state after clone 2019-04-06 01:26:47 +02:00
pdo_dblib Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
pdo_firebird Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
pdo_mysql Enable STRICT_TRANS_TABLES in new test 2019-06-07 10:57:09 +02:00
pdo_oci pdo_oci: Add client identifier and module attrs 2019-02-11 16:10:47 +11:00
pdo_odbc Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
pdo_pgsql Fix tests wrt. internationalization 2019-04-12 13:07:39 +02:00
pdo_sqlite Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
pgsql Fix 29nb_async_connect.phpt 2019-04-10 13:06:02 +02:00
phar Fix tests for non English environments 2019-04-17 09:56:55 +02:00
posix fix flaky posix test 2019-06-05 16:34:50 +02:00
pspell Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
readline use {TMP} placeholder in phpt tests 2019-05-21 09:02:37 +02:00
recode Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
reflection Fixed bug #75186 2019-05-09 12:33:53 +02:00
session use {TMP} placeholder in phpt tests 2019-05-21 09:02:37 +02:00
shmop Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
simplexml Convert CRLF to LF 2019-05-13 03:51:00 +02:00
skeleton Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
snmp Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
soap Use a different URL in bug44811.phpt 2019-05-22 11:41:51 +02:00
sockets Fixed bug #78038 socket_select with references 2019-05-23 11:12:15 +02:00
sodium Fix bug #77646 2019-02-21 16:33:03 +01:00
spl Fix #77024: SplFileObject::__toString() may return array 2019-04-28 00:44:48 +02:00
sqlite3 Merge branch 'PHP-7.1' into PHP-7.2 2019-05-27 21:36:00 -07:00
standard Fix #77937: preg_match failed 2019-06-11 08:42:32 +02:00
sysvmsg Trim trailing whitespace in *.phpt 2018-10-14 19:44:14 +02:00
sysvsem year++ 2018-01-02 12:55:14 +08:00
sysvshm Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
tidy Fix syntax error 2018-12-09 19:13:09 +01:00
tokenizer Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
wddx Merge branch 'PHP-7.1' into PHP-7.2 2019-01-07 01:03:26 -08:00
xml Merge branch 'PHP-7.1' into PHP-7.2 2018-10-16 18:49:17 +02:00
xmlreader Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
xmlrpc Merge branch 'PHP-7.1' into PHP-7.2 2019-01-06 11:57:16 -08:00
xmlwriter Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
xsl Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
zend_test Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
zip Fixed bug #76345 2019-05-27 17:42:20 +02:00
zlib Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
ext_skel Merge branch 'PHP-7.1' into PHP-7.2 2018-10-19 00:07:42 +02:00
ext_skel_win32.php Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00