Home >Backend Development >PHP Tutorial >在函数里include文件时会何会把文件名打印出来

在函数里include文件时会何会把文件名打印出来

WBOY
WBOYOriginal
2016-06-23 14:08:551020browse


比如,有下面的执行文件:

echo 111111;
 function aa()
 {
include('get_file_list_search.php');
echo 'end of aa()',PHP_EOL;

 }
 aa();
执行时在屏幕上打印出get_file_list_search.php
这是为什么呢?能让它不打印出来吗?


回复讨论(解决方案)

这要看你 get_file_list_search.php 是怎么写的了

重点在 get_file_list_search.php 上。
只有include 貌似不够分析

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn