ID: 21410 Updated by: [EMAIL PROTECTED] Reported By: ari at alienhosting dot com -Status: Verified +Status: Closed Bug Type: Filesystem function related Operating System: win32 only PHP Version: 4.3.2-dev New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, 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/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-02-25 02:59:15] [EMAIL PROTECTED] Just to clarify: The base function that is used should check that the passed parameter is a) valid b) if valid, the file exists ------------------------------------------------------------------------ [2003-02-25 02:56:52] [EMAIL PROTECTED] Same basic problem with file_exists() too.. ------------------------------------------------------------------------ [2003-02-20 00:09:28] [EMAIL PROTECTED] Cause of this is that in win32, php_stat() never tests whether the file exists or not. ------------------------------------------------------------------------ [2003-02-19 23:59:50] [EMAIL PROTECTED] Tested with latest CVS snapshot.. ------------------------------------------------------------------------ [2003-01-04 15:30:29] [EMAIL PROTECTED] To be clearer: This happens with any bogus information, whether it be a string, NULL, or otherwise. Of course passing no arguments still results in the standard wrong parameter count error. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21410 -- Edit this bug report at http://bugs.php.net/?id=21410&edit=1