Description
https://github.com/php/php-src/blob/master/ext/standard/basic_functions.c#L846
The else branch of the putenv function does not call tsrm_env_unlock() to release the lock, which could potentially lead to a deadlock.
PHP Version
PHP 8.4
Operating System
Ubuntu 22.04