problem with implode

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ilavos
Forum Newbie
Posts: 10
Joined: Tue Apr 18, 2006 4:01 pm

problem with implode

Post by ilavos »

Is there any kind of memory limit or anything for the implode.I have a program that uses it over and over again and it seems it overflows my browser.Any ideas?Thanks ahead.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

overflows your browser? I don't think so.
ilavos
Forum Newbie
Posts: 10
Joined: Tue Apr 18, 2006 4:01 pm

Post by ilavos »

well thats just a guess,because program execution just stops after a certain number of implode functions.But if i start program execution at the array at whitch it stopped previously,theres no problem!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

sounds like you're hitting the time limit. Check your error logs. If you see something to the effect of "script exceded maximum execution of XX seconds," that'd be it.

set_time_limit()
ilavos
Forum Newbie
Posts: 10
Joined: Tue Apr 18, 2006 4:01 pm

Post by ilavos »

Indeed!Thanks!That did the trick
Post Reply