Issue Bug Closed

#76276Fluid incorrectly detects variable names beginning with a digit as number

Christian Weiske 05/24/16, 09:20 updated 04/28/17, 12:07

Description

When a variable begins with a digit – e.g. 404elementid – then fluid detects it as a number, not a string:

<v:variable.set name="test" value="{0: 404elementid}"/>
<f:debug>{test}</f:debug>

<f:debug>{404elementid}</f:debug>

The first output shows 404 instead of the original variable value.

The second f:debug shows the correct variable value.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.