一个外部文件demo1.php 中有一个 函数test 还有一个echo ‘000000’;
在另一个文件demo2.php中require ‘demo1.php’;echo ‘1111111’;
为什么我在demo2中调用test()后,本业内的以下内容不显示?1111111不显示
不调用,正常
一个外部文件demo1.php 中有一个 函数test 还有一个echo ‘000000’;
在另一个文件demo2.php中require ‘demo1.php’;echo ‘1111111’;
为什么我在demo2中调用test()后,本业内的以下内容不显示?1111111不显示
不调用,正常
1 回答4.1k 阅读✓ 已解决
3 回答1.9k 阅读✓ 已解决
2 回答2.3k 阅读✓ 已解决
2 回答749 阅读✓ 已解决
1 回答1.4k 阅读✓ 已解决
2 回答2.3k 阅读
1 回答694 阅读✓ 已解决
1 show me the code!
2 把php错误调试打开,这这种应该是有某些错误发生了。错误Log打出来看看就知道了。