|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-27 20:29 UTC] [email protected]
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 01 08:00:01 2026 UTC |
Description: ------------ The class name in the "Cannot redeclare class ..." error message is lowercased and not the original one. Reproduce code: --------------- <?php class Foo {} class Foo {} ?> Expected result: ---------------- Fatal error: Cannot redeclare class Foo in /home/sb/test.php on line 3 Actual result: -------------- Fatal error: Cannot redeclare class foo in /home/sb/test.php on line 3