ID: 16320 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: MySQL related Operating System: Linux 2.2.12-20 Redhat 6.1 PHP Version: 4.1.1 New Comment:
Thank you for your bug report. This issue has already been fixed in the latest released version of PHP, which you can download at http://www.php.net/downloads.php Previous Comments: ------------------------------------------------------------------------ [2002-03-27 16:46:02] [EMAIL PROTECTED] When generating large arrays (> 15,000 places) by copying mysql result rows php will not die after script exicution. I found this in running a large while loop and then copying over the row from the fetch_assoc that comes back. So for example $query = select * from users; //about 20,000 rows with 26 //data elements. $result = mysql_query(......); while($row = mysql_fetch_assoc($result)){ $users[$row["user_name"]] = $row; } This is from a command line script and when this is run, this will run every line to the bottom of the script but will not die. I have even kept adding print statements and it will exicute them, but will not stop. I have checked this with many scenarios and when the array is too large the application will not terminate. When i downloaded the new 4.2rc1 this problem isnt there though. Just thought you guys should know. Thanks alot, Nick Miller ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16320&edit=1
