Bug #68190 [Fbk]: Fatal error: Cannot redeclare class

From: Date: Wed, 08 Oct 2014 21:52:34 +0000
Subject: Bug #68190 [Fbk]: Fatal error: Cannot redeclare class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187964@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68190&edit=1 ID: 68190 Updated by: stas@php.net Reported by: mhm6626 at gmail dot com Summary: Fatal error: Cannot redeclare class Status: Feedback Type: Bug Package: *General Issues Operating System: Linux PHP Version: 5.5.17 Block user comment: N Private report: N New Comment: Could you explain what you meant by this report? It doesn't produce error and shouldn't. Previous Comments: ------------------------------------------------------------------------ [2014-10-08 20:37:01] requinix@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. http://3v4l.org/71lK6 ------------------------------------------------------------------------ [2014-10-08 20:17:13] mhm6626 at gmail dot com Description: ------------ <?php // Fatal error: Cannot redeclare class A ... class A extends B { } class B { } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68190&edit=1

« previous php.bugs (#187964) next »