Skip to content

main: Add PHP_BUILD_PROVIDER userland constant #19157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PHP NEWS
- Core:
. Add clone-with support to the clone() function. (timwolla, edorian)
. Fix support for non-userland stream notifiers. (timwolla)
. Added PHP_BUILD_PROVIDER constant. (timwolla)

- Curl:
. Add support for CURLINFO_CONN_ID in curl_getinfo() (thecaliskan)
Expand Down
1 change: 1 addition & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ PHP 8.5 UPGRADE NOTES

- Core:
. PHP_BUILD_DATE.
. PHP_BUILD_PROVIDER.

- Curl:
. CURLINFO_USED_PROXY.
Expand Down
8 changes: 8 additions & 0 deletions main/main.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
*/
const PHP_BUILD_DATE = UNKNOWN;

#ifdef PHP_BUILD_PROVIDER
/**
* @var string
* @cvalue PHP_BUILD_PROVIDER
*/
const PHP_BUILD_PROVIDER = UNKNOWN;
#endif

/**
* @var bool
* @cvalue PHP_ZTS
Expand Down
5 changes: 4 additions & 1 deletion main/main_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading