|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-05 15:49 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 04:00:01 2025 UTC |
The faulty code is below. This is a VERY bad bug. It will cause Apache / PHP to eat CPU cycles and put in the log the following line continuously:<br> Fatal error ht=40310d44 is already destroyed in zend_hash.c:519 in Unknown on line 0<br> This is not a dir() bug. It happens any time you try to store a resource object (such as dir(), mysql_query(), etc.) in a static variable.<br><br> <? static $t = 0; $t = dir("."); ?>