关于return的用法解决办法

WBOY
Release: 2016-06-13 12:53:54
Original
947 people have browsed it

关于return的用法
HI
   今天看到下面一句代码:
   return {%CONFIG_ARRAY%};
   我知道一般return 语句可以返回一个参数,但它这里后面接一个大括号,括号里还用%夹着一个字符串,这是什么意思? 字符串我估计是个常量,%在PHP里除了是取模运算符,还有其他的含义吗?  

php return
------解决方案--------------------
目测不像PHP  是UNIX 命令行 
%%表示批处理命令里面的变量内容。
但愿我没火星。
------解决方案--------------------
这应该是模板里面的代码。这个{%CONFIG_ARRAY%}会被替换成一个值。你找找模板类在那里对当前页面做了替换处理。
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!