我的代码中必须有两个 include_once 调用:
include_once('../folder/folder/file.php');
include_once('../folder/folder/file2.php');
它的文件位置正确,并且能够与echo realpath()
如果我取出其中一个,我的代码会减去我需要的另一个文件。
如果我同时拥有它们,我只会得到一个空白屏幕,没有错误。
我的问题是,php 是否喜欢两个以 .. 开头的 include_once,我如何测试哪个失败?