rfc:random_ext
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:random_ext [2021/10/07 13:03] – minor fix zeriyoshi | rfc:random_ext [2022/02/08 07:31] (current) – mark decline zeriyoshi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP RFC: Move to RNG functions into ext/random ====== | ====== PHP RFC: Move to RNG functions into ext/random ====== | ||
- | * Version: 1.0 | + | * Version: 1.1 |
* Date: 2021-09-07 | * Date: 2021-09-07 | ||
* Author: Go Kudo < | * Author: Go Kudo < | ||
- | * Status: | + | * Status: |
+ | |||
+ | ===== Note ===== | ||
+ | |||
+ | This RFC has been moved to Decline, as it is no longer needed due to changes in the proposal. | ||
===== Introduction ===== | ===== Introduction ===== | ||
Line 43: | Line 47: | ||
These features are provided in a single random.c / php_random.h, | These features are provided in a single random.c / php_random.h, | ||
- | Will cause a BC Break for extensions and php-src | + | In addition, header files containing the following contents will continue to be provided |
- | + | ||
- | <code c> | + | |
- | #if PHP_VERSION_ID >= 80200 | + | |
- | #include " | + | |
- | #else | + | |
- | #include "ext/ | + | |
- | #include " | + | |
- | #include " | + | |
- | #include " | + | |
- | #endif | + | |
- | </ | + | |
- | + | ||
- | In general, BC Breaks should | + | |
- | + | ||
- | However, there is now a need to sort these out in order to deal with other problems with PHP random numbers. I think this could be a good reason to allow this BC Break. | + | |
- | See the relevant [[rfc: | + | * standard/ |
+ | * standard/php_rand.h | ||
+ | * standard/php_mt_rand.h | ||
+ | * standard/php_random.h | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | There are no disruptive changes to userland. However, there will be a BC Break in the downstream project. | + | none |
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== |
rfc/random_ext.1633611794.txt.gz · Last modified: 2021/10/07 13:03 by zeriyoshi