Calvin Buckley
639628cecb
Update versions for PHP 8.4.0beta3
...
This time it should actually include the recent patches, fixing the
embarassing git mistake.
php-8.4.0beta3
2024-08-14 18:02:49 -03:00
Calvin Buckley
9a70b7c221
[ci skip] Update NEWS for PHP 8.4.0 beta2
2024-08-14 17:30:20 -03:00
Peter Kokot
f09354e5d0
Autotools: Sync CS in sapi/cli ( #15410 )
...
- AS_* macros used
2024-08-14 21:39:19 +02:00
Peter Kokot
bca18bc585
Autotools: Sync CS in sapi/litespeed ( #15409 )
...
- AS_CASE macro used
2024-08-14 21:38:36 +02:00
Gina Peter Banyard
8093893496
ext/dba: Remove arg num check prior to ZPP checks ( #15401 )
2024-08-14 20:20:11 +01:00
Christoph M. Becker
ec2655f88b
Voidify getfilesystemtime() (GH-15413)
...
The function always returned 0, and the return values was never used,
so we declare it to return void.
While we're at it, we also fix the space indentation of the comment.
2024-08-14 21:09:26 +02:00
Gina Peter Banyard
059fe6c28b
ext/standard/php_string.h: Remove declarations that do not have an implementation ( #15402 )
...
This was overlooked, by my younger self, in GH-8195.
2024-08-14 20:04:51 +01:00
Peter Kokot
53d6ed8a6b
Autotools: Fix typo in FPM TCP_CONNECTION_INFO check ( #15411 )
...
Otherwise, the check even works with such typo, but this fixes the
TCP_CONNECTION_INFO check on macOS machines for FPM.
2024-08-14 20:05:18 +02:00
Christoph M. Becker
25afbdb09e
GetSystemTimePreciseAsFileTime() is now always available (GH-15400)
...
* GetSystemTimePreciseAsFileTime() is now always available
As of PHP 8.3.0, we require Windows Server 2012 or Windows 8 as bare
minimum. Since GetSystemTimePreciseAsFileTime() is always available on
these Windows versions[1], there is no more need for the workaround
described in dllmain.c; we just can call the function directly.
[1] <https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getsystemtimepreciseasfiletime >
2024-08-14 20:00:27 +02:00
Christoph M. Becker
390088bf55
Remove detection of unsupported Windows versions (GH-15399)
...
Windows 2008 and Vista are no longer supported as of PHP 7.2.0, and
Windows 2008 R2 and Windows 7 are no longer supported as of PHP 8.3.0.
Therefore we remove the respective detection code, and assert that
these versions can no longer be used.
2024-08-14 19:52:47 +02:00
jrfnl
d2810f5757
[skip ci] 8.4 | UPGRADING: add missing constant
...
Ref: 564914ac1a (diff-c5961ea04ab805b0059964fac68d6e159095a4b56aaaded0b1b941b8768c0f52)
2024-08-14 16:57:23 +02:00
jrfnl
ddaeb203b2
[skip ci] 8.4 | UPGRADING: fix incorrect function names
...
Ref: 1cf8291c85 (diff-d22d5ad00ee9f000cb8c8f9a5cfb905a8de91e7dc4a633896e2c5ab4ad1513d1)
2024-08-14 16:57:23 +02:00
jrfnl
d245bf12e7
[skip ci] 8.4 | UPGRADING: move new function to correct section
...
The `pg_result_memory_size()` function is a new feature, not a deprecated feature.
2024-08-14 16:57:23 +02:00
jrfnl
ba321af07c
[skip ci] 8.4 | UPGRADING: fix typo
2024-08-14 16:57:23 +02:00
jrfnl
d61cb70e65
[skip ci] 8.4 | UPGRADING: fix extension order
...
A number of times, extensions were not listed in alphabetic order.
Fixed now.
Includes a few minor fixes where extension names were using inconsistent casing across the file.
2024-08-14 16:57:23 +02:00
jrfnl
0abd54d538
[skip ci] 8.4 | UPGRADING: join PDO entries
...
There were multiple headers for the same PDO extensions in the "New features" section.
This joins these together.
2024-08-14 16:57:23 +02:00
jrfnl
68d5c8145d
[skip ci] 8.4 | UPGRADING: add missing RFC links
...
Includes fixing up existing (deprecations) RFC links which didn't directly link to the section within the RFC.
2024-08-14 16:57:23 +02:00
Peter Kokot
f6dcca00bc
Autotools: Substitute PHP_EMBED_TYPE conditionally ( #15396 )
...
If passing wrong argument at --enable-embed=ARGUMENT the AC_SUBST don't
need to be used for it in php-config.
2024-08-14 16:40:10 +02:00
Tim Düsterhus
a2a3c5ba8a
hash: Consistently check for PHP_HASH_INTRIN_SHA_* to guard compilation of SHA256_Transform_shani ( #15404 )
...
This fixes the build for amd64 platforms that do not have
`HAVE_FUNC_ATTRIBUTE_TARGET`, specifically Alpine/Musl as of now.
Closes GH-15384.
Related to GH-15312.
2024-08-14 15:18:07 +02:00
Gina Peter Banyard
74bf894950
ext/standard/info.c: Throw ValueErrors on invalid inputs to php_uname() ( #15385 )
2024-08-14 13:20:26 +01:00
Gina Peter Bnayard
d100caa476
[skip ci] Add NEWS/UPGRADING + wording amendment for GH-13483
2024-08-14 13:52:19 +02:00
Gina Peter Banyard
a79c70f574
[RFC] Convert exit (and die) from language constructs to functions ( #13483 )
...
RFC: https://wiki.php.net/rfc/exit-as-function
2024-08-14 12:44:12 +01:00
Gina Peter Banyard
02177848e4
Replace uses of php_dirname() with zend_dirname() ( #15393 )
...
This removes some needs to include the php_string.h header
2024-08-14 12:35:47 +01:00
Ilija Tovilo
2054c3d238
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Disable LSAN for crashing SOAP tests (GH-14562)
2024-08-14 11:45:02 +02:00
Ilija Tovilo
65a101f3a7
Disable LSAN for crashing SOAP tests (GH-14562)
2024-08-14 11:44:03 +02:00
Peter Kokot
b56f81cddc
Add configure phase dependencies to mysqlnd extension ( #15380 )
...
The hash extension is required in mysqlnd extension for using sha
functions when extended SSL is enabled (MYSQLND_HAVE_SSL).
2024-08-14 01:18:28 +02:00
Peter Kokot
6f44a0d7fe
Autotools: Use AS_* macros in embed SAPI ( #15387 )
2024-08-14 01:17:57 +02:00
Remi Collet
40d88cacc1
Fix test expectation for "Built by..." ( #15383 )
2024-08-13 21:58:44 +01:00
Gina Peter Bnayard
0b8fbacd58
ext/standard/info.c: Remove unreachable conditional branch
2024-08-13 22:26:14 +02:00
David Carlier
6e2bbc49c7
Merge branch 'PHP-8.3'
2024-08-13 21:03:12 +01:00
David Carlier
4f582011cb
Merge branch 'PHP-8.2' into PHP-8.3
2024-08-13 21:02:12 +01:00
David Carlier
8c3f5f99f3
[ci skip] update NEWS
2024-08-13 21:01:20 +01:00
David Carlier
445ea01edf
Merge branch 'PHP-8.3'
2024-08-13 20:57:21 +01:00
David Carlier
f1e5c63837
Checks getrandom availability on solaris.
...
To fix part of GH-15381.
gcc nor clang provides a constant to distinguish illumos and solaris
not the system provides a kernel version stamp like the BSD.
thus, we simply check the symbol and remaing purposely conservative in
the existing logic, using it only for solaris to avoid unexpected
breakages for other systems. would need a different fix for higher
branches.
Close GH-15390
2024-08-13 20:54:12 +01:00
David Carlier
5c9c275743
Checks getrandom availability on solaris.
...
To fix part of GH-15381.
gcc nor clang provides a constant to distinguish illumos and solaris
not the system provides a kernel version stamp like the BSD.
thus, we simply check the symbol and remaing purposely conservative in
the existing logic, using it only for solaris to avoid unexpected
breakages for other systems. would need a different fix for higher
branches.
Close GH-15390
2024-08-13 20:50:15 +01:00
Jakub Zelenka
bf1b0eb8ea
Merge branch 'PHP-8.3'
2024-08-13 20:17:30 +01:00
Jakub Zelenka
0b61b8dc99
PHP-8.3 is now for PHP-8.3.12-dev
2024-08-13 20:16:40 +01:00
Christoph M. Becker
65c6d72319
Drop FASTCALL on variadic functions (GH-15389)
...
This is unlikely to be properly supported by compilers anyway, see
<https://github.com/php/php-src/pull/2975 >.
2024-08-13 19:46:48 +02:00
Christoph M. Becker
6949b7bf42
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix test expectation
2024-08-13 19:26:19 +02:00
Christoph M. Becker
56703e5390
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix test expectation
2024-08-13 19:25:04 +02:00
Christoph M. Becker
1b52ecd78a
Fix test expectation
2024-08-13 19:23:53 +02:00
Remi Collet
589cfbb24f
Completely remove session.sid_length and session.sid_bits_per_character from INI files ( #15382 )
...
see e8ff7c70f9
[timwolla: Adjusted commit message]
2024-08-13 17:04:22 +02:00
Gina Peter Bnayard
d63caf006b
ext/standard/info.c: Minor refactoring to php_get_uname()
2024-08-13 15:57:26 +01:00
Gina Peter Bnayard
ac7ed28573
ext/standard/info.c: Minor refactoring to php_get_windows_name()
2024-08-13 15:57:26 +01:00
Kamil Tekiela
8448db84a8
Mention in UPGRADING the MYSQLI_REFRESH_* constants
2024-08-13 16:23:44 +02:00
Sergey Panteleev
a68b8b557e
Merge branch 'PHP-8.3'
...
* PHP-8.3:
PHP-8.2 is now for PHP 8.2.24-dev
2024-08-13 17:19:10 +03:00
Sergey Panteleev
0504b9db1e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
PHP-8.2 is now for PHP 8.2.24-dev
# Conflicts:
# Zend/zend.h
# configure.ac
# main/php_version.h
2024-08-13 17:18:57 +03:00
Sergey Panteleev
84d8fa9f53
PHP-8.2 is now for PHP 8.2.24-dev
2024-08-13 17:18:16 +03:00
Calvin Buckley
8c4d5a1814
[ci skip] Update NEWS for PHP 8.4.0 beta1
...
Also move this news item up to beta2 since it happened while I was
tagging beta1.
2024-08-13 11:06:32 -03:00
Ilija Tovilo
be6dee3c5d
Reset seen symbols when ending namespace (GH-15244)
...
Previously, seen symbols were never cleaned during the compilation of a single
file. This makes it impossible to use a class or function from a different
namespace if such a symbol is also declared within the same file. This is
inconsistent with how it would work when split into different files.
2024-08-13 15:47:14 +02:00