ID: 47767
Updated by: pajoye@php.net
Reported By: lukemoynihan at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating System: Windows Vista
PHP Version: 5.2.9
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2009-03-24 22:43:18] lukemoynihan at gmail dot com
Description:
------------
PHP does not resolve symlinks (On Vista) or Junctions (windows 2000)
on windows when including files
Create index.php and test.php as shown below, then create a symlink
on Vista using:
mklink test2.php test.php
Note: this test case illustrates symlinks, but that Junctions created
on NTFS volumes also have this problem.
Reproduce code:
---------------
index.php:
<?php
include_once('test.php');
include_once('test2.php');
include_once('test2.php');
test.php:
<?php
echo "i'm included ";
Expected result:
----------------
Expected on Linux:
i'm included
Expected on Windows:
i'm included
Actual result:
--------------
Actual on Linux:
i'm included
Actual on Windows:
i'm included i'm included
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47767&edit=1