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

http://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);
                    }

0 comments:

Post a Comment

Followers

រឿង ដែលខានមើលមិនបាន

Contact us

Name

Email *

Message *

Your Language

Online

Copyright 2009 Simplex Celebs All rights reserved Designed by www.sruol9.com