作者:茶茶 | 来源:互联网 | 2023-05-22 12:58
Asyousee,thefirstrequire_oncegivesnoweakwarning.Thelatteronedoes,butIdontunderst
As you see, the first require_once gives no weak warning. The latter one does, but I don't understand why. Is there any reason why this is happening? The file exists and contains a class. If its any useful, this is the file structure:
正如您所看到的,第一个require_once没有给出弱的警告。后者有,但我不明白为什么。为什么会发生这种情况?该文件存在并包含一个类。如果有用,这是文件结构:
-| Project
-| Anomius
- Anomius.php (This is the included file)
-| Sites
-| Foo
- app.php (This is the file on the image)
2 个解决方案