/
githubmirror
/
CS-Notes
Обзор
Документация
Войти
/
githubmirror
/
CS-Notes
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/_style/prism-master/tests/languages/smarty/function_feature.test
41 строка
775 B
CyC2018
use prism-tomorrow.css
19 дек 2018, 09:09
19 дек 2018, 09:09
e9e604e
Код
Авторство
О чём код?
{if count($foo)} {$foo|@count} {$bar|lower} {/if} ---------------------------------------------------- [ ["smarty", [ ["delimiter", "{"], ["function", "if"], ["function", "count"], ["punctuation", "("], ["variable", "$foo"], ["punctuation", ")"], ["delimiter", "}"] ]], ["smarty", [ ["delimiter", "{"], ["variable", "$foo"], ["operator", "|"], ["function", "@count"], ["delimiter", "}"] ]], ["smarty", [ ["delimiter", "{"], ["variable", "$bar"], ["operator", "|"], ["function", "lower"], ["delimiter", "}"] ]], ["smarty", [ ["delimiter", "{"], ["function", "/if"], ["delimiter", "}"] ]] ] ---------------------------------------------------- Checks for tags, filters and functions.