Good day How to call php function with template variable ? For example - I have global variable like {testVar} I like to call php function, using {testVar} as parameter
<?php strlen({testVar}); ?>But when I go to view, I have error
Parse error: syntax error, unexpected ‘{‘, expecting ‘)’ in /home/xxx/system/expressionengine/libraries/Functions.php(650) : eval()’d code on line 6
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.