php-src/ext
Niels Dossche f81370847c
Fix GH-13815: mb_trim() inaccurate $characters default value (#13820)
Because the default characters are defined in the stub file, and the
stub file is UTF-8 (typically), the characters are encoded in the string
as UTF-8. When using a different character encoding, there is a mismatch
between what mb_trim expects and the UTF-8 encoded string it gets.

One way of solving this is by making the characters argument nullable,
which would mean that it always uses the internal code path that has the
unicode codepoints that are defaulted actually stored as codepoint
numbers instead of in a string.

Co-authored-by: @ranvis
2024-04-24 09:07:55 +02:00
..
bcmath Remove rscale in bc_raisemod 2024-04-11 08:59:48 +09:00
bz2 Verify stub aliases in CI (#13682) 2024-03-13 23:32:35 +01:00
calendar Remove setlocale pragma that no longer is significant. (#13814) 2024-03-27 09:06:07 +01:00
com_dotnet Change getThis() into ZEND_THIS where possible (#13641) 2024-03-08 22:19:06 +01:00
ctype Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
curl CI: update freebsd 13 image. 2024-03-19 22:36:33 +00:00
date An uninitialized DateTime is UNEXPECTED (#13492) 2024-03-18 16:38:30 +00:00
dba Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
dl_test Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
dom Update Lexbor (#14032) 2024-04-22 23:19:42 +02:00
enchant fix: typos (#13694) 2024-03-13 09:30:33 +01:00
exif Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
ffi Include the source location in Closure names (#13550) 2024-04-12 18:21:13 +02:00
fileinfo Merge branch 'PHP-8.3' 2024-04-11 15:58:25 +02:00
filter filter_input_array - Implement solution 2 of GH-13805 (#13804) 2024-04-07 00:18:12 +02:00
ftp Fix bug #63937: Upload speed 10 times slower with PHP (#13041) 2024-04-13 01:39:31 +02:00
gd Merge branch 'PHP-8.3' 2024-03-18 11:59:34 +01:00
gettext ext/gettext: updating apis accepting domain behavior. 2024-03-13 20:33:47 +00:00
gmp ext/gmp: Fix leading whitespace before explicit octal prefix 2024-04-23 23:39:48 +01:00
hash Change return type of hash_update() to true (#13652) 2024-03-09 20:02:50 +01:00
iconv main/output.c: Refine int return type to bool or zend_result (#13997) 2024-04-19 10:46:40 +01:00
intl Merge branch 'PHP-8.2' into PHP-8.3 2024-04-19 10:07:11 +01:00
json Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
ldap Update ext/ldap sanity check (#13946) 2024-04-12 10:20:26 +02:00
libxml Include the source location in Closure names (#13550) 2024-04-12 18:21:13 +02:00
mbstring Fix GH-13815: mb_trim() inaccurate $characters default value (#13820) 2024-04-24 09:07:55 +02:00
mysqli Merge branch 'PHP-8.3' 2024-04-12 11:04:41 +01:00
mysqlnd Add an assertion for certainty 2024-04-21 16:07:40 +02:00
odbc Use AC_SUBST instead of PHP_SUBST_OLD where possible (#13993) 2024-04-18 22:17:27 +02:00
opcache Update IR 2024-04-23 23:14:54 +03:00
openssl Merge branch 'PHP-8.3' 2024-04-19 14:10:18 +01:00
pcntl ext/pcntl: signals list update for dragonflybsd related to checkpoint. 2024-04-22 21:21:52 +01:00
pcre Fix external pcre2 build (#13662) 2024-03-10 13:15:15 +01:00
pdo Remove redundant check in pdo_raise_impl_error (#13851) 2024-03-31 16:16:17 +02:00
pdo_dblib Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
pdo_firebird remove ZWSP 2024-04-10 10:02:24 +09:00
pdo_mysql Remove HAVE_MYSQL (#13719) 2024-03-15 20:33:59 +01:00
pdo_odbc Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
pdo_pgsql Fix GH-13745: fix header inclusion in pdo_pgsql.c (#13749) 2024-03-18 23:07:41 +00:00
pdo_sqlite Merge branch 'PHP-8.3' 2024-04-20 22:34:53 +09:00
pgsql Sync logical operators in shell scripting code (#13560) 2024-03-01 20:40:16 +01:00
phar Merge branch 'PHP-8.3' 2024-04-08 19:31:20 +02:00
posix Merge branch 'PHP-8.3' 2024-04-16 14:20:23 +02:00
random rudimentary midipix port (#13896) 2024-04-18 08:19:44 +02:00
readline cli: allow to change ~/.php_history with PHP_HISTFILE 2024-04-22 10:05:47 +02:00
reflection reflection: Fix ReflectionFunction::getShortName() for Closures (#14001) 2024-04-19 12:14:16 +02:00
session Merge branch 'PHP-8.3' 2024-04-20 17:12:20 +01:00
shmop Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
simplexml [RFC] Add a way to opt-in ext/dom spec compliance (#13031) 2024-03-09 16:56:00 +01:00
skeleton Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
snmp Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
soap Rename HAVE_PHP_SOAP symbol on Windows ext/soap (#13426) 2024-02-18 18:01:12 +01:00
sockets ext/sockets: socket_create_listen update. 2024-04-10 18:39:38 +01:00
sodium Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
spl Remove unused ext/spl SPL_API code (#13985) 2024-04-19 22:50:36 +02:00
sqlite3 Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
standard Merge branch 'PHP-8.3' 2024-04-15 14:15:17 +02:00
sysvmsg Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
sysvsem Refactor union semun in ext/sysvsem (#13473) 2024-02-22 15:48:12 +01:00
sysvshm Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
tidy main/output.c: Refine int return type to bool or zend_result (#13997) 2024-04-19 10:46:40 +01:00
tokenizer Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
xml Include the source location in Closure names (#13550) 2024-04-12 18:21:13 +02:00
xmlreader Simplify prop handler of XMLReader (#14023) 2024-04-20 23:22:38 +02:00
xmlwriter Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
xsl Add test for performing special operations on XSLTProcessor properties (#13959) 2024-04-14 16:52:54 +02:00
zend_test Include the source location in Closure names (#13550) 2024-04-12 18:21:13 +02:00
zip Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
zlib main/output.c: Refine int return type to bool or zend_result (#13997) 2024-04-19 10:46:40 +01:00
ext_skel.php