[snip] But the problem is still there (CGI and CLI sapi tested). I used the "-n" option, so php.ini can't cause the problem, either. Has anyone else experienced that? [/snip] Yes. You will have to write your own clean-up code for things like this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php