|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-26 13:48 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 21 18:00:02 2025 UTC |
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