Skip to content

Commit b2ad1a2

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 08b9e8a commit b2ad1a2

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
@@ -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

-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)