Home > Backend Development > PHP Tutorial > 记得有个函数可以直接输出PHP源代码的?该怎么处理

记得有个函数可以直接输出PHP源代码的?该怎么处理

WBOY
Release: 2016-06-13 13:53:02
Original
1195 people have browsed it

记得有个函数可以直接输出PHP源代码的??
以前好像 用到过个函数 可以直接将PHP源代码输出到页面而不是执行PHP代码过后的结果? 是什么函数呢。。。
还有是 怎么读取PHP文件 ? fopen ? file ? curl ? file_get_contents等好像都不行呢.....

------解决方案--------------------
echo file_get_contents("test.php"); 
?>

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template