Pages

How can I unlimited the execution time of a for loop?


                    ob_start();
                    ob_implicit_flush(true);
                    set_time_limit(0);
                    foreach ($iterator as $value) {
                        $test = 111;
                        ob_flush();
                        flush();
                        sleep(1);
                    }

No comments:

Post a Comment