Home > Backend Development > PHP Tutorial > echo '<?'; 返回空

echo '<?'; 返回空

WBOY
Release: 2016-06-06 20:20:01
Original
1708 people have browsed it

echo '';
输出为空,考虑到可能是被php 解析了
但是我想实现的是textare 中 输入php 语句 直接返回 php 解析后的结果
用 eval 可以实现 但是 不能返回什么错误,

所以想通过写文件,读文件的方式来解决
有什么好的解决方式吗

if(empty($_REQUEST)){

<code>$html = </code>
Copy after login
Copy after login



Related labels:
php
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