https://jumnuoy.blogspot.com/2013/11/how-can-i-unlimited-execution-time-of.html
ob_start();
ob_implicit_flush(true);
set_time_limit(0);
foreach ($iterator as $value) {
$test = 111;
ob_flush();
flush();
sleep(1);
}
ob_start();
ob_implicit_flush(true);
set_time_limit(0);
foreach ($iterator as $value) {
$test = 111;
ob_flush();
flush();
sleep(1);
}
code
How to
PHP
0 comments:
Post a Comment