ID:               45962
 Updated by:       [EMAIL PROTECTED]
 Reported By:      zodiacxp at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Class/Object related
 Operating System: Vista
 PHP Version:      5.2.6
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2008-09-01 01:56:02] zodiacxp at web dot de

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


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45962&edit=1

Reply via email to