mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Fix pcntl_rfork / pcntl_forkx with zend-max-execution-timers
This commit is contained in:
4
NEWS
4
NEWS
@@ -29,6 +29,10 @@ PHP NEWS
|
||||
. Fixed bug GH-14082 (Segmentation fault on unknown address 0x600000000018
|
||||
in ext/opcache/jit/zend_jit.c). (nielsdos)
|
||||
|
||||
- PCNTL:
|
||||
. Fixed bug GH-18958 (Fatal error during shutdown after pcntl_rfork() or
|
||||
pcntl_forkx() with zend-max-execution-timers). (Arnaud)
|
||||
|
||||
- Standard:
|
||||
. Fix misleading errors in printf(). (nielsdos)
|
||||
. Fix RCN violations in array functions. (nielsdos)
|
||||
|
||||
@@ -1513,6 +1513,8 @@ PHP_FUNCTION(pcntl_rfork)
|
||||
default:
|
||||
php_error_docref(NULL, E_WARNING, "Error %d", errno);
|
||||
}
|
||||
} else if (pid == 0) {
|
||||
zend_max_execution_timer_init();
|
||||
}
|
||||
|
||||
RETURN_LONG((zend_long) pid);
|
||||
@@ -1556,6 +1558,8 @@ PHP_FUNCTION(pcntl_forkx)
|
||||
default:
|
||||
php_error_docref(NULL, E_WARNING, "Error %d", errno);
|
||||
}
|
||||
} else if (pid == 0) {
|
||||
zend_max_execution_timer_init();
|
||||
}
|
||||
|
||||
RETURN_LONG((zend_long) pid);
|
||||
|
||||
Reference in New Issue
Block a user