[php-src] PR #14291: Make `php_random_bytes()` useable early during engine startup

From: Date: Tue, 21 May 2024 14:53:20 +0000
Subject: [php-src] PR #14291: Make `php_random_bytes()` useable early during engine startup
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26253@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14291 Author: arnaud-lb php_random_bytes() uses some thread-specific state and can not be used too early. In this PR I refactor it so that is uses a true global instead. I also introduce php_random_bytes_ex(), with a slightly different API that can expose errors without throwing exceptions. This depends on #14242 and is a dependency of #14054.

« previous php.git-pulls (#26253) next »