一、0.9.1版本:
1、添加了一个$_i变量,它跟$_num相似,但是从0开始;
2、可以使用“php原生”的if比较语句。
二、0.10.2版本:
已经完美支持php7.0
github网址:
-------------------------------------------以下是官方发行说明------------------------------------
-
fix: added predefined constant $_i - loop identifier, same as $_num, but starts from 0.
-
fix: "native" if, also fixes some logical errors (thanks to nicolas van eenaeme)
-
fix: arginfo added and a couple of other minor fixes (thanks to anton "tony2001" dovgal)*
-
fix: zephir integration fix (plain blitz::__construct declaration)
also if/unless logic was unified across both function-like and context-like styles,
so you can finally use things like {{ if (a>b && c, "true", "false") }}.
enjoy.
阅读(1881) | 评论(0) | 转发(0) |