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

From: Date: Wed, 08 Oct 2014 20:37:02 +0000
Subject: Bug #68190 [Opn->Fbk]: Fatal error: Cannot redeclare class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187961@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: requinix@php.net Reported by: mhm6626 at gmail dot com Summary: Fatal error: Cannot redeclare class -Status: Open +Status: Feedback Type: Bug -Package: PHP Language Specification +Package: *General Issues Operating System: Linux PHP Version: 5.5.17 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#187961) next »