#46681 [Opn]: mkdir() fails silently on PHP 5.3
ID: 46681
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 11:08:19] ant@php.net
Here are the differences when I run
ext/standard/tests/file/mkdir_variation5 on Linux:
009+ -- creating BADDIR/aSubDir --
009-
010- Warning: mkdir(): No such file or directory in %s on line %d
011- -- creating BADDIR/aSubDir --
012-
013- Warning: mkdir(): No such file or directory in %s on line %d
021-
022- Warning: mkdir(): No such file or directory in %s on line %d
------------------------------------------------------------------------
[2008-11-26 10:18:57] ant@php.net
Description:
------------
The following tests were ported from 5.2.X and do not work as
expected on 5.3. It appears mkdir(...) on an invalid directory now
fails silently while before it raised a warning.
All these tests have been marked with an --XFAIL-- section which will
need to be removed...
Reproduce code:
---------------
See the following tests now checked into CVS:
ext/standard/tests/file/mkdir_variation1.phpt
ext/standard/tests/file/mkdir_variation1-win32.phpt
ext/standard/tests/file/mkdir_variation5.phpt
Expected result:
----------------
See the expected output in the PHPTs.
Actual result:
--------------
See the actual output from running the tests.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46681&edit=1
Thread (4 messages)