ID: 37614 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Scripting Engine problem Operating System: * PHP Version: 5.* Assigned To: helly New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-05-27 14:20:28] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37614&edit=1