Twig capability test v2

#FeatureResultExpected
T1set with hash + arrayHello ABHello AB
T2set … endset (block)BlockBlock
T3withinsideinside
T5verbatim{{ raw }} shown literally
O1~ concat, in, is defined, is emptySmm-ok in def emptySmm-ok in def empty
O2ternary + ?? yes fallbackyes fallback
F1defaultfallbackfallback
F2upper / lower / capitalize / titleSMM smm Abc A BSMM smm Abc A B
F3replacea+ba+b
F4trim[x][x]
F5striptagsboldbold
F6sliceabcabc
F7first / last1313
F8split33
F9merge1,21,2
F10keysa,ba,b
F11batch (grid rows)[12][34][12][34]
F13number_format1,234.501,234.50
F14round / abs3 33 3
F15url_encodea%20b%26ca%20b%26c
F16nl2brx
y
x then y on next line
F17formata-ba-b
F18date2026current year
F19json_encode{"a":"x\"y"}{"a":"x\"y"}
F21rawboldbold text
F22no filter (auto-escape check)boldbold text = not auto-escaped
X1range123123
X2min / max2424
X3date() function2026current year

What the panel puts in these globals on this page

site name = [smmservice.org] · protocol = [https] · domain = [smmservice.org] · iso lang = [en]

page title = [TEST TITLE] · page url = [/twig-capability-test]

seo_desc = [TEST DESC] · seo_key = [TEST KEYWORDS]

(Before running: open this test page in Appearance → Pages → Edit page SEO and type Page title = "TEST TITLE", Meta-description = "TEST DESC". The lines above then show which variables carry the per-page SEO fields.)