php-src/ext
Alex Dowad 57e194e02d Fix compile error in Windows CI job caused by 0779950768
In 6fc8d014df, pakutoma added some additional validation logic to
mb_detect_encoding. Since the implementation of mb_detect_encoding
has changed significantly between PHP 8.2 and 8.3, when merging this
change down from PHP-8.2 into master, I had to port his code over to
the new implementation in master.

However, I did this in a wrong way. In merge commit 0779950768,
the ported code modifies a function argument (to mb_guess_encoding)
which is marked 'const'. In the Windows CI job, MS VC++ rightly
flags this as a compile error.

Adjust the code to accomplish the same thing, but without destructively
modifying 'const' arguments.
2023-03-25 06:02:01 +02:00
..
bcmath Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
bz2 Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
calendar
com_dotnet Fix GH-10489: run-tests.php does not escape path when building cmd (#10560) 2023-02-25 14:02:06 +00:00
ctype Merge branch 'PHP-8.1' into PHP-8.2 2022-10-27 14:42:17 +01:00
curl Merge branch 'PHP-8.2' 2023-03-22 20:58:33 +01:00
date Updated to version 2023.2 (2023b) 2023-03-24 10:10:20 +00:00
dba Fix [-Wstrict-prototypes] in DBA 2023-03-06 17:03:41 +00:00
dl_test
dom Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
enchant
exif Fix GCC 12 compiler warnings (#10713) 2023-02-28 14:21:01 +00:00
ffi zend_compiler, ...: use uint8_t instead of zend_uchar (#10621) 2023-02-23 14:56:54 +00:00
fileinfo Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
filter Merge branch 'PHP-8.2' 2022-10-27 14:42:40 +01:00
ftp Merge branch 'PHP-8.2' 2023-03-20 23:31:04 +01:00
gd Suppress -Wstrict-prototypes in GD extension (#10803) 2023-03-09 07:02:20 +00:00
gettext
gmp zend_compiler, ...: use uint8_t instead of zend_uchar (#10621) 2023-02-23 14:56:54 +00:00
hash Merge branch 'PHP-8.2' 2023-02-25 14:36:56 +00:00
iconv Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
imap Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
intl ext/intl: dateformatter settimezone changes on success, returning true like setcalendar. 2023-03-09 21:45:26 +00:00
json Merge branch 'PHP-8.2' 2023-02-17 16:40:14 +00:00
ldap Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
libxml ext: make various internal functions static (#10650) 2023-02-21 15:51:41 +00:00
mbstring Fix compile error in Windows CI job caused by 0779950768 2023-03-25 06:02:01 +02:00
mysqli ext/mysqi: mysqli_poll raises a ValueError on absent 1st and 2ng arguments. 2023-03-15 17:49:31 +00:00
mysqlnd Merge branch 'PHP-8.2' 2023-03-24 18:09:05 +01:00
oci8 Switch to Ubuntu 22.04 for GitHub actions jobs 2023-03-10 00:17:23 +01:00
odbc
opcache Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
openssl Merge branch 'PHP-8.2' 2023-03-05 22:16:23 +01:00
pcntl Merge branch 'PHP-8.2' 2023-03-03 11:56:34 +01:00
pcre Remove pcre_get_compiled_regex_ex() (#10354) 2023-01-18 14:28:19 +00:00
pdo Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
pdo_dblib Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
pdo_firebird Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
pdo_mysql Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
pdo_oci Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
pdo_odbc Merge branch 'PHP-8.2' 2023-03-15 21:47:34 +01:00
pdo_pgsql Revert GH-10220 2023-01-16 12:27:33 +01:00
pdo_sqlite ext/pdo_sqlite: simplifying sqlite3_exec usage. (#10910) 2023-03-23 13:43:58 +00:00
pgsql Merge branch 'PHP-8.2' 2023-03-18 07:10:57 +00:00
phar Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
posix posix: fix misuse of bool (invalid code in c23) 2023-02-13 19:40:03 +00:00
pspell Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
random Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
readline
reflection Merge branch 'PHP-8.2' 2023-03-15 09:06:29 +01:00
session Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
shmop Revert GH-10220 2023-01-16 12:27:33 +01:00
simplexml Fix GH-10489: run-tests.php does not escape path when building cmd (#10560) 2023-02-25 14:02:06 +00:00
skeleton
snmp ext/snmp: use memcpy() instead of memmove() (#10498) 2023-02-05 15:10:01 +00:00
soap Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
sockets ext/sockets: add TCP_REPAIR to silently close a connection. 2023-02-27 22:56:06 +00:00
sodium Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
spl Fix test for GH-10907 with output in different order for master branch 2023-03-24 19:04:52 +01:00
sqlite3 ext: make various internal functions static (#10650) 2023-02-21 15:51:41 +00:00
standard Merge branch 'PHP-8.2' 2023-03-20 21:01:21 +01:00
sysvmsg Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
sysvsem
sysvshm Merge branch 'PHP-8.2' 2023-03-01 23:05:24 +01:00
tidy Merge branch 'PHP-8.1' into PHP-8.2 2023-02-21 14:32:52 +00:00
tokenizer Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
xml Improve handling of XML options 2023-02-26 14:34:39 +00:00
xmlreader Merge branch 'PHP-8.2' 2023-02-12 21:34:14 -07:00
xmlwriter Simplify checks and returns in ext/xmlwriter (#10701) 2023-02-26 14:07:55 +00:00
xsl Use new ZSTR_INIT_LITERAL macro (#10879) 2023-03-20 16:19:05 +01:00
zend_test Merge branch 'PHP-8.2' 2023-03-13 12:39:40 +01:00
zip Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385) 2023-01-23 10:52:14 +01:00
zlib Temporarily disable failing zlib tests on travis (#10738) 2023-03-01 02:19:29 +01:00
ext_skel.php