#37614 [Opn->Csd]: Class name lowercased in error message

From: Date: Sat, 27 May 2006 20:29:36 +0000
Subject: #37614 [Opn->Csd]: Class name lowercased in error message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97694@lists.php.net to get a copy of this message
 ID:               37614
 Updated by:       johannes@php.net
 Reported By:      sebastian@php.net
-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] sebastian@php.net

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


Thread (2 messages)

« previous php.bugs (#97694) next »