Skip to content

[pull] master from php:master - #1300

Merged
pull[bot] merged 7 commits into
turkdevops:masterfrom
php:master
Sep 24, 2026
Merged

pull[bot] merged 7 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

LamentXU123 and others added 7 commits September 24, 2026 10:19
…es (#23863)

Keep callback receivers and closures alive until their calls return, allowing
callbacks to replace or clear themselves without freeing an active receiver.
This preserves existing usage such as Symfony HttpClient's write callback.

Use the helper for all callback entry points and retain the in_callback guard
while releasing the temporary references, as destructors may re-enter curl.
Add regression tests for replacement, clearing, trampolines, exceptions and
destructor re-entry.

Co-authored-by: Nicolas Grekas <nicolas.grekas@gmail.com>
`PQservice()` never shipped in a released libpq; it was dropped during the
PostgreSQL 18 beta.

Close GH-23857
* PHP-8.5:
  ext/pgsql: Removed `pg_service()`, unavailable with any released libpq

# Conflicts:
#	ext/pgsql/pgsql.c
#	ext/pgsql/pgsql_arginfo.h
* PHP-8.6:
  ext/pgsql: Removed `pg_service()`, unavailable with any released libpq
* PHP-8.4:
  ext/curl: Preserve callback lifetime without rejecting callback changes (#23863)
* PHP-8.5:
  ext/curl: Preserve callback lifetime without rejecting callback changes (#23863)
* PHP-8.6:
  ext/curl: Preserve callback lifetime without rejecting callback changes (#23863)
@pull pull Bot locked and limited conversation to collaborators Sep 24, 2026
@pull pull Bot added the ⤵️ pull label Sep 24, 2026
@pull
pull Bot merged commit eb3b5fc into turkdevops:master Sep 24, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants