php-src/ext
Tim Düsterhus 6fb20cd9de
random: Simplify implementation of php_random_generate_fallback_seed() (#13761)
As all the input bits and pieces are mixed with SHA-1, cross-architecture
compatibility is not required and we can just mix in whatever they may look
like in memory, instead of going through the `write_*()` helpers that were
created for a previous in-development version that first filled a buffer that
was then hashed (allowing for easy inspection of the input data, but making it
harder to safely add values without checking for buffer overflows all the
time).

This change should also fix a build error on macOS ZTS: The thread ID is an
opaque type and not guaranteed to be arithmetic as per IEEE Std 1003.1-2017.
And indeed macOS defines it as a pointer to a structure, failing due to the
implicit pointer to integer conversion.
2024-03-20 09:41:01 +01:00
..
bcmath Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
bz2 Verify stub aliases in CI (#13682) 2024-03-13 23:32:35 +01:00
calendar Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +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 Only register error handling when observable 2024-03-17 18:24:40 +01: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 Check FFI_* ABI with Autoconf AC_CHECK_DECL (#13552) 2024-03-01 19:31:55 +01:00
fileinfo Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
filter Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
ftp Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01: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 random: Improve the output quality of RANDOM_SEED() (#13730) 2024-03-18 16:08:23 +01:00
hash Change return type of hash_update() to true (#13652) 2024-03-09 20:02:50 +01:00
iconv Fix GH-13727: macro generating invalid call test prototypes fixes. 2024-03-18 06:53:39 +00:00
intl Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
json Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
ldap Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
libxml Only register error handling when observable 2024-03-17 18:24:40 +01:00
mbstring [skip ci] Sync file permissions in Git repository 2024-02-20 17:58:47 +01:00
mysqli Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
mysqlnd Skip validity and length calls when the byte cannot be part of a multibyte sequence 2024-03-07 20:27:18 +01:00
odbc Sync logical operators in shell scripting code (#13560) 2024-03-01 20:40:16 +01:00
opcache Compress interned string table offsets and increase maximum supported buffer size (#13676) 2024-03-19 13:01:30 +01:00
openssl Merge branch 'PHP-8.3' 2024-03-10 15:15:40 +01:00
pcntl Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
pcre Fix external pcre2 build (#13662) 2024-03-10 13:15:15 +01:00
pdo Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01: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 Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01: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 Fix PdoSqlite::loadExtension() test (#13736) 2024-03-17 22:27:09 +01:00
pgsql Sync logical operators in shell scripting code (#13560) 2024-03-01 20:40:16 +01:00
phar Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
posix Check major, minor and makedev with Autoconf's AC_HEADER_MAJOR (#13706) 2024-03-15 21:18:05 +01:00
random random: Simplify implementation of php_random_generate_fallback_seed() (#13761) 2024-03-20 09:41:01 +01:00
readline Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
reflection Verify stub aliases in CI (#13682) 2024-03-13 23:32:35 +01:00
session random: Improve the output quality of RANDOM_SEED() (#13730) 2024-03-18 16:08:23 +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: adding few constants for NetBSD. 2024-03-17 21:44:22 +00:00
sodium Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
spl ext/spl: Throw TypeError when overloaded SplObjectStorage::getHash() method does not return a string 2024-03-17 23:08:58 +00:00
sqlite3 Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
standard Add the last few remaining constants to stubs (#13751) 2024-03-19 08:20:33 +01: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 Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
tokenizer Do not generate frameless info items when func info generation is disabled 2024-02-18 11:39:00 +01:00
xml Merge branch 'PHP-8.3' 2024-02-27 21:49:47 +01:00
xmlreader Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
xmlwriter Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
xsl Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
zend_test Improve BC support of arginfo files fenerated by gen_stub.php (#13705) 2024-03-18 22:06:17 +01:00
zip Implement "support doc comments for internal classes and functions" (#13266) 2024-02-25 08:41:31 +01:00
zlib Merge branch 'PHP-8.3' 2024-03-05 10:13:57 +01:00
ext_skel.php