略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Yaf_View_Simple::eval

2024-04-28

Yaf_View_Simple::eval

(Yaf >=2.2.0)

Yaf_View_Simple::eval渲染模板

说明

public Yaf_View_Simple::eval(string $tpl_content, array $tpl_vars = ?): string

渲染一个字符串模板,然后返回结果。

参数

tpl_content

string template

tpl_vars

返回值

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/yaf-view-simple.eval.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3