|
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] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 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