0

I tried writing a basic program that involved 'while ' loop, but whenever I try running it I get 'time limit exceeded' ,why?

14th Aug 2017, 6:47 AM
iyohaPaul
iyohaPaul - avatar
2 Antworten
+ 1
php by default set a time limit for a running script (20 sec i think), this is for not to "block" the server in one task, you can override this directive.
14th Aug 2017, 7:51 AM
Jaime Munizaga Laferte
Jaime Munizaga Laferte - avatar
0
if this behavior it's not intended, check your loop statement, maybe there is a infinite loop.
14th Aug 2017, 8:04 AM
Jaime Munizaga Laferte
Jaime Munizaga Laferte - avatar