我在主文件夹中有一个文件 a.php,两个文件 b.php 和 c.php 在 child_folder 中。三个文件的内容如下
a.php
<?php
require 'child_folder/b.php';
?>
b.php (within child folder)
<?php
require 'c.php';
require 'child/c.php';
?>
c.php (within child folder)
<?php
echo 'this is c file<br>';
?>
当我运行 a.php 时,它会回显以下输出
这是c文件
这是c文件
用文件 b 调用文件 c 的正确方法是什么,它应该被称为 wrt a 文件或 wrt b 文件..?