|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78857 Provide more context for "cannot redeclare" error
Submitted: 2019-11-22 13:20 UTC Modified: 2019-12-13 10:18 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ghghghghgh at example dot com Assigned:
Status: Open Package: opcache
PHP Version: 7.4Git-2019-11-22 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
41 - 35 = ?
Subscribe to this entry?

 [2019-11-22 13:20 UTC] ghghghghgh at example dot com
can you please change that either to an Exception or add the information *who* included the file from the wrong path? 

that's clearly an application bug where on one place out of 200000 lines of code a config option from where to load includes is ignored and that happens within auto/fuzzy-tests - no fun to debug

[22-Nov-2019 13:43:05 Europe/Vienna] PHP Fatal error:  Cannot redeclare GetUserFullName() (previously declared in api/ in cms/ on line 22


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-12-13 10:18 UTC]
-Summary: Preload: PHP Fatal error: Cannot redeclare +Summary: Provide more context for "cannot redeclare" error -Type: Bug +Type: Feature/Change Request
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 09:01:27 2024 UTC