#46681 [Opn]: mkdir() fails silently on PHP 5.3

From: Date: Wed, 26 Nov 2008 11:08:19 +0000
Subject: #46681 [Opn]: mkdir() fails silently on PHP 5.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131355@lists.php.net to get a copy of this message
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: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#131355) next »