Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7724273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:38:51+00:00 2026-06-01T04:38:51+00:00

I assume it doesn’t actually hash the file contents, does it stick all of

  • 0

I assume it doesn’t actually hash the file contents, does it stick all of the require‘d pathnames into an internal hash table?

The context for this is that I’m getting some (redeclaration) warnings that would make sense if require_once was getting confused by slightly different paths to the same file, and I’d obviously rather not load files multiple times.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:38:52+00:00Added an answer on June 1, 2026 at 4:38 am

    require_once() will only keep track of unique file access paths.

    • If the same content inside two files accessed, they will treated as different files (intuitive)
    • If the same physical file is accessed via two different paths, it
      will be treated as different files. (less intuitive)
    • If a physical file is accessed, later a symlink to the same physical file, it will be treated as different files (least intuitive)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I assume it doesn't connect to anything (other than the satelite I guess), is
FieldInfo has an IsStatic member, but PropertyInfo doesn't. I assume I'm just overlooking what
Let's assume that $body is equal to something that does not interest me <!--
Assume a table structure of MyTable(KEY, datafield1, datafield2...) . Often I want to either
TextMate seems to use the built-in Python version I assume (sys.path doesn't work). How
I don't see why this doesn't work. I assume that for some really lame
I have to assume that the following method doesn't leak memory: public final void
The following code doesn't work, I assume because the locals() variable inside the comprehension
Lets assume we are talking about 32bit system. PHP doesn't support unsigned INT. It
I assumed joinable would indicate this, however, it does not seem to be the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.