|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-13 23:54 UTC] iliaa@php.net
[2002-08-14 05:35 UTC] JSaunders at edis dot co dot uk
[2002-08-14 09:43 UTC] kalowsky@php.net
[2002-08-15 03:42 UTC] JSaunders at edis dot co dot uk
[2002-09-09 05:26 UTC] sniper@php.net
[2002-09-26 20:05 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
Regression error from 4.0.5 to 4.0.6. Looks like using filetype on a non-existant file, returns the value of the last valid call. Seen on the pre-compiled win32 flavour download with all modules. <?php echo filetype("c:/zzzzzz.zzz"); echo filetype("c:/"); echo filetype("c:/zzzzzz.zzz"); ?> Produces <br> <b>Warning</b>: Unknown file type (0) in <b>-</b> on line <b>2</b><br> unknowndirdir on 4.0.6. The file zzzzzzz.zzz does not exist. 4.0.5 returns dir with no warning. clearstatcache() has no effect. Have to explicitly check for file existance with file_exists under this release.