You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While evaluating strings, EvalContext:_extractExpressions() has to parse out all expressions which are defined with ${}. As the PHP associative array syntax uses curly brackets too, current parsing mechanism is not able to handle it right,
Example:
indexed array is OK ${count(['a', 'b'])}
associative array will fail ${count({'a'=>'option', 'b'=>'other option'})}
Requirements:
add unit test which will test associative array parsing (and will fail currently)
improve parsing to support use of associative arrays
While evaluating strings,
EvalContext:_extractExpressions()
has to parse out all expressions which are defined with${}
. As the PHP associative array syntax uses curly brackets too, current parsing mechanism is not able to handle it right,Example:
Requirements:
Side note:
It seems like this functionality might be migrated to the https://github.com/zef-dev/zef-expression-language library
The text was updated successfully, but these errors were encountered: