Skip to content

Remove unused PHP_DL_TEST_EXPORTS and PHP_ZEND_TEST_EXPORTS#21109

Merged
petk merged 1 commit intophp:masterfrom
petk:patch-unused-win-defines
Feb 4, 2026
Merged

Remove unused PHP_DL_TEST_EXPORTS and PHP_ZEND_TEST_EXPORTS#21109
petk merged 1 commit intophp:masterfrom
petk:patch-unused-win-defines

Conversation

@petk
Copy link
Member

@petk petk commented Feb 1, 2026

In current code these aren't used on Windows build. The PHP_ZEND_TEST_EXPORTS was intended to fix MSVC level 1 (severe) warnings via 5a04796 but __declspec(dllexport) is now implemented unconditionally.

In current code these aren't used on Windows build. The
PHP_ZEND_TEST_EXPORTS was intended to fix MSVC level 1 (severe) warnings
via 5a04796 but __declspec(dllexport)
is now implemented unconditionally.
@petk
Copy link
Member Author

petk commented Feb 2, 2026

I'm merging this in the following days to limit syncing issues with build systems. When or if these definitions will be needed in the code, they can be re-added back explicitly as before.

@petk petk merged commit 06dac62 into php:master Feb 4, 2026
9 of 10 checks passed
@petk petk deleted the patch-unused-win-defines branch February 4, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant