Status/Resolution/Reason: Closed/Withdrawn/NotABug
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 12/12/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 3
Consider this:
<cfoutput>
#val(true)#
#val(false)#
#val("true")#
#val("false")#
#val("yes")#
#val("no")#
</cfoutput>
Outputs:
0 0 0 0 0 0
Now this:
<cfoutput>
#true * 1#
#false * 1#
#"true" * 1#
#"false" * 1#
#"yes" * 1#
#"no" * 1#
</cfoutput>
Outputs:
1 0 1 0 1 0
I can see arguments for both of these returning either "0 0 0 0 0 0" or "1 0 1 0 1 0", but it's not correct for them each to return different results.
FWIW, Railo gets this right, returning "1 0 1 0 1 0" for both. As one would expect.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3877103
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: