|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80675 parallel may cause maximum execution time exceeded error.
Submitted: 2021-01-27 09:39 UTC Modified: -
From: anustro at icloud dot com Assigned:
Status: Open Package: Unknown/Other Function
PHP Version: 7.4.14 OS: MacOS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: anustro at icloud dot com
New email:
PHP Version: OS:


 [2021-01-27 09:39 UTC] anustro at icloud dot com
parallel runtime cause the Maximum execution time of 30 seconds exceeded error sometimes in Nginx + FastCGI web environment.

Test script:

$runtime = new \parallel\Runtime();
$future = $runtime->run(function(){
    for ($i = 0; $i < 500; $i++)
        echo "*";
    return 'easy';

for ($i = 0; $i < 500; $i++) {
    echo ".";

printf("\nUsing \\parallel\\Runtime is %s\n", $future->value());


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 03:02:51 2024 UTC