#
f9a1a903 |
| 14-Dec-2022 |
Tim Düsterhus |
Add Randomizer::nextFloat() and Randomizer::getFloat() (#9679) * random: Add Randomizer::nextFloat() * random: Check that doubles are IEEE-754 in Randomizer::nextFloat() *
Add Randomizer::nextFloat() and Randomizer::getFloat() (#9679) * random: Add Randomizer::nextFloat() * random: Check that doubles are IEEE-754 in Randomizer::nextFloat() * random: Add Randomizer::nextFloat() tests * random: Add Randomizer::getFloat() implementing the y-section algorithm The algorithm is published in: Drawing Random Floating-Point Numbers from an Interval. Frédéric Goualard, ACM Trans. Model. Comput. Simul., 32:3, 2022. https://doi.org/10.1145/3503512 * random: Implement getFloat_gamma() optimization see https://github.com/php/php-src/pull/9679/files#r994668327 * random: Add Random\IntervalBoundary * random: Split the implementation of γ-section into its own file * random: Add tests for Randomizer::getFloat() * random: Fix γ-section for 32-bit systems * random: Replace check for __STDC_IEC_559__ by compile-time check for DBL_MANT_DIG * random: Drop nextFloat_spacing.phpt * random: Optimize Randomizer::getFloat() implementation * random: Reject non-finite parameters in Randomizer::getFloat() * random: Add NEWS/UPGRADING for Randomizer’s float functionality
show more ...
|
#
52a891ae |
| 13-Dec-2022 |
George Peter Banyard |
Add a new imap_is_open() function to check that a connection object is still valid |
#
16ce751f |
| 09-Dec-2022 |
Tim Düsterhus |
[ci skip] Add json_validate() RFC link to UPGRADING |
#
ac3ecd03 |
| 09-Dec-2022 |
Joshua Rüsweg |
Add `Randomizer::getBytesFromString()` method (#9664) * Add `Randomizer::getBytesFromAlphabet()` method * Rename `getBytesFromAlphabet` to `getBytesFromString` * [ci skip]
Add `Randomizer::getBytesFromString()` method (#9664) * Add `Randomizer::getBytesFromAlphabet()` method * Rename `getBytesFromAlphabet` to `getBytesFromString` * [ci skip] Add NEWS/UPGRADING for Randomizer::getBytesFromString() Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
show more ...
|
#
f33b35c2 |
| 23-Nov-2022 |
Jakub Zelenka |
[ci skip] Fix formatting in PHP 8.2 UPGRADING |
#
94702c56 |
| 21-Nov-2022 |
Jakub Zelenka |
Fix bug #80669: FPM numeric user fails to set groups |
#
dd8de1e7 |
| 15-Nov-2022 |
Tim Düsterhus |
Promote unserialize() notices to warning (#9629) * Unserialize: Migrate "Unexpected end of serialized data" to E_WARNING * Unserialize: Migrate "Error at offset %d of %d bytes" to E
Promote unserialize() notices to warning (#9629) * Unserialize: Migrate "Unexpected end of serialized data" to E_WARNING * Unserialize: Migrate "Error at offset %d of %d bytes" to E_WARNING * Unserialize: Migrate "%s is returned from __sleep() multiple times" to E_WARNING * Add NEWS for “Promote unserialize() notices to warning”
show more ...
|
#
e0e347b4 |
| 11-Nov-2022 |
David Carlier |
Fix GH-9923: Add the `SIGINFO` constant in pcntl for system supporting it. Closes #9938 |
#
4c4e72f1 |
| 28-Oct-2022 |
David CARLIER |
socket add socket_atmark support. checks whether the socket belongs to the out-of-band mark, thus allows to be processed accordingly (using the MSG_OOB flag on send/recv). Clos
socket add socket_atmark support. checks whether the socket belongs to the out-of-band mark, thus allows to be processed accordingly (using the MSG_OOB flag on send/recv). Closes #9846.
show more ...
|
#
d10a04b3 |
| 20-Oct-2022 |
Ilija Tovilo |
Allow specifying resource in posix_getrlimit() for single result Closes GH-9790 |
#
18fe337b |
| 05-Oct-2022 |
Jakub Zelenka |
Fix bug #51056: fread() on blocking stream will block even if data is available This is applied only on socket connection which already returns immediately if there is no data in the buf
Fix bug #51056: fread() on blocking stream will block even if data is available This is applied only on socket connection which already returns immediately if there is no data in the buffer.
show more ...
|
#
69eb38b4 |
| 14-Oct-2022 |
Arnaud Le Blanc |
[ci skip] UPGRADING |
#
68301b14 |
| 08-Oct-2022 |
Tyson Andre |
[skip ci] Add docs for json_validate in `UPGRADING*` |
#
cc0bd85e |
| 04-Oct-2022 |
George Peter Banyard |
Update UPGRADING with gc_status() changes |
#
a8d6ca4e |
| 19-Sep-2022 |
George Peter Banyard |
Fix UPGRADING by adding DBA constants |
#
0d19ae40 |
| 16-Sep-2022 |
George Peter Banyard |
Add support for binary and octal number prefixes for INI settings Closes GH-9560 |
Revision tags: php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28 |
|
#
615b8006 |
| 08-Feb-2022 |
David Carlier |
socket module add SO_ATTACH_REUSEPORT_CPBF for Linux. to be used in conjunction with SO_REUSPORT, giving a greater control over how we bind a socket instead of the round robin workflow,
socket module add SO_ATTACH_REUSEPORT_CPBF for Linux. to be used in conjunction with SO_REUSPORT, giving a greater control over how we bind a socket instead of the round robin workflow, we do instead attach to the processor id as : - we assign the processor_id to A in the BPF filter. - then returns A. in other words, a more modern version of SO_INCOMING_CPU (ie can have a per worker notion we do not use here). Closes #8062
show more ...
|
#
85d10cc9 |
| 14-Sep-2022 |
George Peter Banyard |
Use true return type for XML functions which always return true And fix xml_parser_set_option() which didn't return false on failure. Closes GH-9539 |
#
14f22e92 |
| 04-Sep-2022 |
Tim Düsterhus |
[ci skip] Fix formatting in UPGRADING - Remove `k` typo that was accidentally added in a headline separator. - Remove premature hard break after very short line length. - Remove dots
[ci skip] Fix formatting in UPGRADING - Remove `k` typo that was accidentally added in a headline separator. - Remove premature hard break after very short line length. - Remove dots at the end of constant lists (not used in 8.2).
show more ...
|
#
25311214 |
| 04-Sep-2022 |
David Carlier |
[ci skip] UPGRADING striping name. |
#
6d5770c2 |
| 04-Sep-2022 |
David Carlier |
[ci skip] NEWS UPGRADING |
#
327c9523 |
| 30-Aug-2022 |
Pierrick Charron |
Prepare for PHP 8.3 |
#
853181a1 |
| 30-Aug-2022 |
Christoph M. Becker |
Add NEWS and UPGRADING entries for GH-9296 |
Revision tags: php-8.1.3RC1, php-8.0.16RC1 |
|
#
11796229 |
| 21-Jan-2022 |
Tim Starling |
Add libxml_get_external_entity_loader() Add libxml_get_external_entity_loader(), which returns the currently installed external entity loader, i.e. the value which was passed to libx
Add libxml_get_external_entity_loader() Add libxml_get_external_entity_loader(), which returns the currently installed external entity loader, i.e. the value which was passed to libxml_set_external_entity_loader() or null if no loader was installed and the default entity loader will be used. This allows libraries to save and restore the loader, controlling entity expansion without interfering with the rest of the application. Add macro Z_PARAM_FUNC_OR_NULL_WITH_ZVAL(). This allows us to get the zval for a callable parameter without duplicating callable argument parsing. The saved zval keeps the object needed for fcc/fci alive, simplifying memory management. Fixes #76763.
show more ...
|
#
35e2a25d |
| 18-Aug-2022 |
Jakub Zelenka |
Add openssl_cipher_key_length function This function works in exactly the same way as openssl_cipher_iv_length but for a key length. This is especially useful to make sure that the r
Add openssl_cipher_key_length function This function works in exactly the same way as openssl_cipher_iv_length but for a key length. This is especially useful to make sure that the right key length is provided to openssl_encrypt and openssl_decrypt. In addtion the change also updates implementation of openssl_cipher_iv_length and adds a test for it.
show more ...
|