KentarouTakeda
c56e8caaed
ext/pgsql, ext/pdo_pgsql: Remove preprocessor guards for symbols predating libpq 10 ( #21384 )
...
While working on php/doc-en#5409 to clean up outdated PostgreSQL
version notes in the documentation, I noticed that the source code
also retains #ifdef guards for symbols guaranteed to exist in
libpq >= 10.0 (the minimum enforced in build/php.m4 via
PQencryptPasswordConn).
Removed guards (all confirmed in PostgreSQL 10 documentation):
- `PG_DIAG_{INTERNAL_POSITION,INTERNAL_QUERY}`: libpq 8.0+
- `PG_DIAG_{SCHEMA,TABLE,COLUMN,DATATYPE,CONSTRAINT}_NAME`: libpq 9.3+
- `PG_DIAG_SEVERITY_NONLOCALIZED`: libpq 9.6+
- `CONNECTION_SSL_STARTUP`: libpq 8.0+
- `CONNECTION_CONSUME`: libpq 10.0+
Refs:
- https://www.postgresql.org/docs/10/libpq-exec.html#LIBPQ-PQRESULTERRORFIELD
- https://www.postgresql.org/docs/10/libpq-connect.html#LIBPQ-PQCONNECTSTARTPARAMS
- 53e31d5883/build/php.m4 (L1927)
2026-03-08 05:42:50 +00:00
Ilia Alshanetsky
53e31d5883
Fix GH-21362: ReflectionMethod::invoke() allows different Closures ( #21366 )
...
ReflectionMethod::invoke() (and invokeArgs()) for Closure::__invoke()
incorrectly accepted any Closure object, not just the one the
ReflectionMethod was created from. This happened because all Closures
share a single zend_ce_closure class entry, so the instanceof_function()
check always passed.
Fix: store the original Closure object in intern->obj during
ReflectionMethod construction, then compare object identity in
reflection_method_invoke() to reject different Closure instances.
Closes GH-21362
2026-03-07 17:19:33 -08:00
Kamil Tekiela
eedbffec2e
Empty some values of mysqli_get_charset() ( #21361 )
...
* Stop reporting unhelpful values in mysqli_get_charset
* Remove element "comment" as it has been undocumented
2026-03-07 22:09:02 +00:00
Peter Kokot
58acc671db
ext/mbstring: Fix deprecation warning ( #21363 )
...
This fixes the PHP deprecation warning:
PHP Deprecated: Implicit conversion from float 2048.96875 to int
loses precision in .../ext/mbstring/gen_rare_cp_bitvec.php on line 9
2026-03-07 16:16:59 +01:00
David CARLIER
f830fa9948
Sockets refactoring 2026 ( #21365 )
...
ext/sockets: internal refactorings.
- remove redundant memsets and faster socket unix path copy.
- simplify php_open_listen_sock.
- use INADDR_ANY directly instead of resolving via gethostbyname.
- remove redundant memsets in conversions.
2026-03-07 14:09:49 +00:00
Gina Peter Banyard
f2d96c84f0
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/session: Fix memory leak due to multiple exception happening during session abort
2026-03-07 13:30:28 +00:00
Gina Peter Banyard
10e02b0a4a
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
ext/session: Fix memory leak due to multiple exception happening during session abort
2026-03-07 13:30:15 +00:00
Gina Peter Banyard
0acde11945
ext/session: Fix memory leak due to multiple exception happening during session abort
...
Closes GH-21200
Co-authored-by: arshidkv12 <arshidkv12@gmail.com >
2026-03-07 13:28:42 +00:00
Jakub Zelenka
873468c8df
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Remove XFAIL for proc-idle-timeout.phpt
2026-03-07 13:16:19 +01:00
Jakub Zelenka
ceae788b78
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Remove XFAIL for proc-idle-timeout.phpt
2026-03-07 13:15:55 +01:00
Jakub Zelenka
6d97fd660c
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Remove XFAIL for proc-idle-timeout.phpt
2026-03-07 13:15:26 +01:00
Jakub Zelenka
2379e3479a
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Remove XFAIL for proc-idle-timeout.phpt
2026-03-07 13:14:34 +01:00
Jakub Zelenka
be8ac28230
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Add back FPM_RUN_RESOURCE_HEAVY_TESTS
2026-03-07 13:13:34 +01:00
Jakub Zelenka
04023e5e72
Remove XFAIL for proc-idle-timeout.phpt
2026-03-07 13:11:37 +01:00
Jakub Zelenka
c2a1d3925b
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Add back FPM_RUN_RESOURCE_HEAVY_TESTS
2026-03-07 13:09:04 +01:00
Jakub Zelenka
6d97ed57d6
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Add back FPM_RUN_RESOURCE_HEAVY_TESTS
2026-03-07 13:07:57 +01:00
Jakub Zelenka
1683e01391
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Add back FPM_RUN_RESOURCE_HEAVY_TESTS
2026-03-07 13:07:17 +01:00
Jakub Zelenka
71a01794cc
Add back FPM_RUN_RESOURCE_HEAVY_TESTS
2026-03-07 13:05:32 +01:00
Ilija Tovilo
242445e22b
Merge branch 'PHP-8.5'
...
* PHP-8.5:
[skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
2026-03-07 12:42:53 +01:00
Ilija Tovilo
1177670fe5
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
[skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
2026-03-07 12:42:46 +01:00
Ilija Tovilo
e8e6f900cd
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
[skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
2026-03-07 12:42:39 +01:00
Ilija Tovilo
37bee6ef4c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
2026-03-07 12:42:21 +01:00
Ilija Tovilo
3902f843f7
[skip ci] Mark sapi/fpm/tests/proc-idle-timeout.phpt as XFAIL
...
This test fails all the time. It should be improved.
2026-03-07 12:41:52 +01:00
ndossche
61fd5ceb68
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Update ext/standard/libavifinfo
2026-03-07 11:18:33 +01:00
ndossche
37fbbbc4d3
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Update ext/standard/libavifinfo
2026-03-07 11:18:29 +01:00
Yannis
c3777c73b3
Update ext/standard/libavifinfo
...
Fixes GH-20627.
Closes GH-21250.
2026-03-07 11:17:56 +01:00
Peter Kokot
f99ca6347f
Windows build: Use GREP_HEADER() instead of CHECK_FUNC_IN_HEADER() ( #21315 )
...
This removes the following unused compile definitions:
- HAVE_OSSL_SET_MAX_THREADS
- HAVE_ARGON2ID_HASH_RAW
The CHECK_FUNC_IN_HEADER() function defines the 'HAVE_<FUNCTION>'
compile definitions to 0 or 1, but these aren't used in the code.
Defining such preprocessor macros makes it difficult to track and sync
with other build systems.
2026-03-06 14:11:20 +01:00
Remi Collet
806e0d0c03
Merge branch 'PHP-8.5'
...
* PHP-8.5:
zip is now 1.22.8
2026-03-06 09:55:12 +01:00
Remi Collet
1d7cddd3ce
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
zip is now 1.22.8
2026-03-06 09:54:55 +01:00
Remi Collet
fb80f35fdc
zip is now 1.22.8
2026-03-06 09:54:32 +01:00
David Carlier
77925b971a
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-21333: use-after-free when unlinking entries during iteration of a compressed phar.
2026-03-05 22:32:38 +00:00
David Carlier
449361afbf
Fix GH-21333: use-after-free when unlinking entries during iteration of a compressed phar.
...
close GH-21334
2026-03-05 22:31:49 +00:00
David Carlier
39f1ed4ae5
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-21336: undefined behavior in snmp setSecurity.
2026-03-05 18:52:08 +00:00
David Carlier
d08d80cf02
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-21336: undefined behavior in snmp setSecurity.
2026-03-05 18:51:23 +00:00
David Carlier
41458c6ad6
Fix GH-21336: undefined behavior in snmp setSecurity.
...
close GH-21337
2026-03-05 18:48:39 +00:00
Máté Kocsis
c506142044
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Add support for generating the namespace for the manual (#21313 )
2026-03-05 13:43:14 +01:00
Máté Kocsis
7e78b0f1d2
Add support for generating the namespace for the manual ( #21313 )
...
[skip ci]
2026-03-05 13:42:36 +01:00
Alexandre Daubois
11a95749b1
Convert more zend_parse_parameters_none() to fast ZPP ( #21330 )
2026-03-04 14:07:46 +01:00
Ilija Tovilo
471ae15312
Fix incorrect zend_hash_find_ptr() on non-ptr in ReflectionProperty::isReadable() (GH-21339)
...
Fixes OSS-Fuzz #489355368
2026-03-04 12:55:58 +01:00
Ilija Tovilo
5307a67ba9
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Backport .github changes for Solaris
2026-03-04 10:12:17 +01:00
Petr Sumbera
ce1cadba29
Fix Solaris tests and add nightly CI job
...
Closes GH-20709
2026-03-04 10:12:03 +01:00
Ilija Tovilo
099769dfa1
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Backport .github changes for Solaris
2026-03-04 10:11:25 +01:00
Ilija Tovilo
94853b6da3
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Backport .github changes for Solaris
2026-03-04 10:11:17 +01:00
Ilija Tovilo
eee7c0aee1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport .github changes for Solaris
2026-03-04 10:11:11 +01:00
Ilija Tovilo
c21af8c598
Backport .github changes for Solaris
2026-03-04 10:11:00 +01:00
tekimen
7a1c2612c0
[RFC] Add grapheme_strrev function ( #20949 )
...
* [RFC] Add grapheme_strrev function
Add more tests Arabic for grapheme_strrev function.
2026-03-04 09:47:26 +09:00
Ilija Tovilo
c7824b368f
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:43 +01:00
Ilija Tovilo
0e2cc18b55
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:38 +01:00
Ilija Tovilo
2fb1411eac
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:32 +01:00
Ilija Tovilo
70bb94c4b6
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix enabling of opcache in benchmark job in older branches
2026-03-04 00:35:25 +01:00