We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c7c6a79 + dd1a07f commit e0ab056Copy full SHA for e0ab056
ext/pcntl/pcntl.c
@@ -1559,6 +1559,8 @@ PHP_FUNCTION(pcntl_rfork)
1559
default:
1560
php_error_docref(NULL, E_WARNING, "Error %d", errno);
1561
}
1562
+ } else if (pid == 0) {
1563
+ zend_max_execution_timer_init();
1564
1565
1566
RETURN_LONG((zend_long) pid);
@@ -1602,6 +1604,8 @@ PHP_FUNCTION(pcntl_forkx)
1602
1604
1603
1605
1606
1607
1608
1609
1610
1611
0 commit comments