3 class Haanga_Extension_Filter_Length
5 function generator($compiler, $args)
7 if (Haanga_AST
::is_str($args[0])) {
8 return hexec('strlen', $args[0]);
10 return hexpr_cond(hexec('is_array', $args[0]), hexec('count', $args[0]),
11 hexec('strlen', $args[0]));