ID: 48746 Updated by: paj...@php.net Reported By: ddkees at illinois dot edu Status: Feedback Bug Type: Directory function related Operating System: win32 only - Windows Server 2003 PHP Version: 5.3.0 Assigned To: pajoye New Comment:
@shoresofnowhere at gmail dot com I suppose you mean: c:\Dir |_ one.php |_ Dir3 (junction to d:\dir) |_ two.php Using this constellation, here is my output on xp SP3: C:\mnt>junction dir3 Junction v1.05 - .. ... C:\mnt\dir3: JUNCTION Substitute Name: c:\test C:\mnt>\test\php53vc6ts\php.exe one.php bool(true) Are you sure: - apache has been restarted after the update? - the right version is used? Can you try in CLI as well please? Previous Comments: ------------------------------------------------------------------------ [2009-09-04 11:44:08] shoresofnowhere at gmail dot com Sorry but the latest snapshot still has problems: Dir directory one.php file in dir directory Dir2 junction in dir to dir3 on another drive two.php file in dir3 in one.php: is_file(./dir2/two.php) returns FALSE! Working on XP SP3 under Apache 2.2.13 ------------------------------------------------------------------------ [2009-09-04 08:11:06] mats dot lindh at gmail dot com Everything seems to work OK with a build from 2009-09-03. Thanks for fixing the issue! ------------------------------------------------------------------------ [2009-09-03 10:10:14] phpstuff at cresstone dot com I'm getting good test behavior from the that snapshot. More tellingly, the original script I've been trying to run is now working correctly. Thanks. ------------------------------------------------------------------------ [2009-09-02 23:26:04] paj...@php.net I can't reproduce the problem with is_dir or is_file behave correctly, however I think I found the problem and commited a fix. I can reproduce the scandir one, same fix. I manually launched a build, you can get the vc9-x86 here: http://is.gd/2OtDf (other snaps should be online within 15mins). ------------------------------------------------------------------------ [2009-09-02 22:59:59] s...@php.net Automatic comment from SVN on behalf of pajoye Revision: http://svn.php.net/viewvc/?view=revision&revision=287975 Log: - #48746, len includes null already ------------------------------------------------------------------------ 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/48746 -- Edit this bug report at http://bugs.php.net/?id=48746&edit=1