[PHP] Re: foreach and destroying variables for memory saving

2008-12-10 Thread Gal Gur-Arie
Tim | iHostNZ wrote: > Hi All, > > Just to annoy the hell out of you, another thing that has been on my mind > for a while: > > I love the foreach ($ar as $k => $v) { ... } construct and use it all the > time. However, I read somewhere that foreach actually uses a copy of $ar > instead of the arr

[PHP] Re: how do i allow more than 2 threads of php to run?

2008-12-09 Thread Gal Gur-Arie
Rene Veerman wrote: > i'm getting freezes for the 3rd to Nth concurrent request on my > homeserver (got root, on debian4 + apache2). > how can i allow more threads? like 50 or so? > > Any chance that you're using session and checking it from the same browser from different tabs (using same sessio

Re: [PHP] Using system

2003-09-17 Thread Gal Gur-Arie
Hello, try this: &1'); echo "\n".$sMyHostname."\n"; ?> Uros wrote: Hello Robert, I think not here is my code #!/usr/local/bin/php -q I always get automaticaly output. I also try to set implicit_flush to off, use ob ob_... nothing works. best regards Wednesday, September 17, 2003, 4:16:10 PM,