php.net |  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
Votes:1
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
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:
MUST BE VALID
Solve the problem:
13 + 39 = ?
Subscribe to this entry?

 
 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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] sniper@php.net
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 19:03:58 2023 UTC