|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21315 include_once fails when include tree is deeply nested and recursive
Submitted: 2002-12-31 14:41 UTC Modified: 2003-01-17 22:12 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: nitrus at nitrusoxyde dot net Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 4.3.0 OS: Win2000 SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: nitrus at nitrusoxyde dot net
New email:
PHP Version: OS:


 [2002-12-31 14:41 UTC] nitrus at nitrusoxyde dot net
Basically I have some files that link to others via include_once, and some farther down in the chain recursively link back to higher in the list (this is for an odd method of function including I've come up with).

I've done full text searches and made sure all the files in the tree use include_once. Basically, if I link down 6 times, and then link to a file included somewhere in a different include branch of my script, I get redeclared function problems.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-01 07:19 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2003-01-17 22:12 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jan 27 09:05:54 2023 UTC