|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-29 10:04 UTC] tony2001@php.net
[2006-09-06 01:00 UTC] php-bugs at lists dot php dot net
[2007-06-04 16:28 UTC] pav at oook dot cz
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 17:00:01 2025 UTC |
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