1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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.
This commit is contained in:
Tim Düsterhus
2024-01-12 15:18:42 +01:00
committed by GitHub
parent 2ae2af5e2e
commit b1f5ca59d1
5 changed files with 4 additions and 4 deletions

View File

@@ -30,6 +30,10 @@ PHP 8.4 INTERNALS UPGRADE NOTES
int(*)(zend_object_iterator *) to zend_result(*)(zend_object_iterator *) to
be more in line with what callbacks are returning.
* The backwards compatibility headers ext/standard/{php_lcg.h,php_mt_rand.h,
php_rand.h,php_random.h} have been removed. Include ext/random/php_random.h
directly.
========================
2. Build system changes
========================

View File

@@ -1 +0,0 @@
#include "ext/random/php_random.h"

View File

@@ -1 +0,0 @@
#include "ext/random/php_random.h"

View File

@@ -1 +0,0 @@
#include "ext/random/php_random.h"

View File

@@ -1 +0,0 @@
#include "ext/random/php_random.h"