Skip to content

Commit c75f1ac

Browse files
committed
Remove ext/random backwards-compatibility headers
When ext/random was initially added in PHP 8.2, these headers started “forwarding” to the new ext/random/php_random.h to reduce the impact on existing extensions. As master already contains some breaking changes of the internal API of ext/random and as the last PHP version without ext/random will be EOL once master is released, it appears appropriate to drop these headers now.
1 parent 162e1dc commit c75f1ac

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

UPGRADING.INTERNALS

+4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES
2626
Z_PARAM_FUNC_EX2 was added as well with the same arguments as Z_PARAM_FUNC_EX
2727
plus an additional argument free_trampoline.
2828

29+
* The backwards compatibility headers ext/standard/{php_lcg.h,php_mt_rand.h,
30+
php_rand.h,php_random.h} have been removed. Include ext/random/php_random.h
31+
directly.
32+
2933
========================
3034
2. Build system changes
3135
========================

ext/standard/php_lcg.h

-1
This file was deleted.

ext/standard/php_mt_rand.h

-1
This file was deleted.

ext/standard/php_rand.h

-1
This file was deleted.

ext/standard/php_random.h

-1
This file was deleted.

0 commit comments

Comments
 (0)