+ -
当前位置:首页 → 问答吧 → 如果实现迭代替换?

如果实现迭代替换?

时间:2011-03-22

来源:互联网

比如 a.php的内容
echo "start"
inlucde ("b.php");
echo "end"

b.php的内容
echo "b start"
include("c.php");
include("d.php");
echo "soem"

c.php,d.php还可能include其他文件

如果要实现 include("xx.php") 的内容替换为 xx.php文件的内容,而且要防止循环包含,有没有好办法?

作者: yakczh   发布时间: 2011-03-22

看不出这跟Perl有什么关系...

作者: jason680   发布时间: 2011-03-23

热门下载

更多