Hi
Sometimes I have a problem with simplexml_load_file() where it does not release its hold of an XML file after it is read.
In other words, after running a PHP program with simplexml_load_file() reading foo.xml, I cannot delete foo.xml because it is still being held by php.exe, and I am assuming the culprit is simplexml_load_file().
Is there a way to assure that simplexml_load_file() releases it hold on an XML file after I have completed traversing its generated tree of simple xml elements?
Thanks
Jeff in Seattle
simplexml_load_file() and not releasing XML files
Moderator: General Moderators
-
jeff00seattle
- Forum Commoner
- Posts: 66
- Joined: Sat Feb 28, 2009 3:27 pm