Skip to content

Commit b1f5ca5

Browse files
authored
Remove ext/random backwards-compatibility headers (#13108)
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 2ae2af5 commit b1f5ca5

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

UPGRADING.INTERNALS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES
3030
int(*)(zend_object_iterator *) to zend_result(*)(zend_object_iterator *) to
3131
be more in line with what callbacks are returning.
3232

33+
* The backwards compatibility headers ext/standard/{php_lcg.h,php_mt_rand.h,
34+
php_rand.h,php_random.h} have been removed. Include ext/random/php_random.h
35+
directly.
36+
3337
========================
3438
2. Build system changes
3539
========================

ext/standard/php_lcg.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

ext/standard/php_mt_rand.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

ext/standard/php_rand.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

ext/standard/php_random.h

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)