ID: 46681 Updated by: bj...@php.net Reported By: a...@php.net -Status: Open +Status: Closed Bug Type: Filesystem function related Operating System: * PHP Version: 5.3CVS-2008-11-26 (snap) -Assigned To: +Assigned To: bjori New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-11-26 18:02:58] a...@php.net These tests are also now checked into 6.0. ------------------------------------------------------------------------ [2008-11-26 11:08:19] a...@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] a...@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