#46680 [Opn]: Files created in wrong directory (include path vs current working directory)
ID: 46680
Updated by: ant@php.net
Reported By: ant@php.net
Status: Open
Bug Type: Filesystem function related
Operating System: Windows, Linux
PHP Version: 5.3CVS-2008-11-26 (snap)
New Comment:
These tests are also now checked into 6.0.
Previous Comments:
------------------------------------------------------------------------
[2008-11-26 10:15:48] ant@php.net
Description:
------------
The following tests were ported from 5.2.X and do not work as
expected on 5.3. The tests all create a test file and expect it to be
created in an include directory. Instead it looks like the file is
being created elsewhere This particularly affects file_put_contents()
with the FILE_USE_INCLUDE_PATH flag set, and also fopen(...).
Reproduce code:
---------------
See the tests now checked into CVS:
ext/standard/tests/file/file_put_contents_variation4.phpt
ext/standard/tests/file/file_put_contents_variation5.phpt
ext/standard/tests/file/file_put_contents_variation6.phpt
ext/standard/tests/file/fopen_variation5.phpt
ext/standard/tests/file/fopen_variation7.phpt
ext/standard/tests/file/fopen_variation8.phpt
ext/standard/tests/file/fopen_variation9.phpt
ext/standard/tests/file/fopen_variation12.phpt
ext/standard/tests/file/fopen_variation16.phpt
ext/standard/tests/file/fopen_variation17.phpt
Expected result:
----------------
See expected output in the PHPTs.
Actual result:
--------------
See the test results from running the PHPTs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46680&edit=1
Thread (10 messages)