|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-09-01 07:12 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 02:00:01 2025 UTC |
Description: ------------ __destruct seems to change the path Reproduce code: --------------- function __destruct() { file_put_contents("find.me", "foo"); } Expected result: ---------------- I expect that it stay in the path of the script, or the script from in which the object is. Actual result: -------------- It stores the file somewhere else. My PHP path: E:\xammp\php\ MyDocuments: E:\xammp\htdocs\e-workspace\ Found the file in E:\xammp