php include()字符串,并解析字符串的有关问题

WBOY
Release: 2016-06-13 11:23:13
Original
1028 people have browsed it

php include()字符串,并解析字符串的问题
我需要include()这样一个字符串
  $str ='1111 ';
要求能输出111和时间,但是现在只能输出111而无法解析时间函数.
求解,谢谢!


------解决方案--------------------
需要保留
就需要用 eval

没有一个个模板引擎是像你一维的那样的
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