#48164 [Opn->Fbk]: Script stops during a while

From: Date: Wed, 06 May 2009 13:36:48 +0000
Subject: #48164 [Opn->Fbk]: Script stops during a while
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136834@lists.php.net to get a copy of this message
ID: 48164 Updated by: fa@php.net Reported By: uvealonso at gmail dot com -Status: Open +Status: Feedback Bug Type: Performance problem Operating System: Linux PHP Version: 5.2.9 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. I really think we need even a rough description what func_modify() does. From your description it could be a single complicated task or something with thousands of iterations Previous Comments: ------------------------------------------------------------------------ [2009-05-06 13:01:00] uvealonso at gmail dot com Description: ------------ Sometimes, the script stops 10 secs after the start, and others, it doesn't stop and complete the operations... I have tested with the same data and parameters, and sometimes, it stops 10 secs after the script starts. max_execution_time is 500000 Reproduce code: --------------- print "start"; while ($a){ func_modify($a); //Here is a function that modifies $a } print "end"; Expected result: ---------------- start end Actual result: -------------- sometimes: "start" or "start end" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48164&edit=1

« previous php.bugs (#136834) next »