ID:               38634
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ls at dutchpipe dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: FreeBSD
 PHP Version:      5.1.5
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

Can't reproduce.



Previous Comments:
------------------------------------------------------------------------

[2006-08-28 22:15:46] ls at dutchpipe dot org

Description:
------------
With e.g. symlink /home --> /usr/home require_once will require it
again the second time.


Reproduce code:
---------------
symlink /home --> /usr/home
require_once('/home/foo_class.php');
print_r(get_included_files());
Array
(
    [0] => /usr/home/foo_class.php
}
require_once('/home/foo_class.php');
Fatal error: Cannot redeclare class in /usr/home/foo_class.php on line
666



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38634&edit=1

Reply via email to