[php-src] PR #18958: Fix pcntl_rfork() / pcntl_forkx() with zend-max-execution-timers

From: Date: Fri, 27 Jun 2025 12:18:50 +0000
Subject: [php-src] PR #18958: Fix pcntl_rfork() / pcntl_forkx() with zend-max-execution-timers
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32217@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18958 Author: arnaud-lb After calling pcntl_rfork() or pcntl_forkx(), the child process triggers a fatal error during shutdown: Fatal error: Could not set timer: Invalid argument (22) in Unknown on line 0 Here I fix this issue by calling zend_max_execution_timer_init(); in the child process, as we do in pcntl_fork(). See also: #10141

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