Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Table of Contents

Language & syntax differences

Here all deviations from CFML Standard Syntax as well as a different runtime behavior are described.

Date comparison

The CFML Standard determines, that a string comparison in "if" clauses always has to be checked, whether the two compared strings could be date values, (e.g. <cfif></cfif>). Railo only checks if both strings are dates if on at least one side of a comparison there is a date value. This checking is done at compile time. (e.g. <cfif></cfif>). The reason for this is that only in rare cases the two strings contain date values. To check these strings for date values is very time consuming and only done if desired.

If you nevertheless want to check whether the two strings contain date values, you should use the function parseDateTime to translate a variable or a string into a date value. (e.g. <cfif></cfif>)

Date parsing

Railo does not support implicit parsing of a date value in the locale format (e.g. <cfif></cfif>). In order to achieve this you have to use the function parseDateTime (<cfif></cfif>).

Again the reason for this is, that implicit parsing of strings to locale date formats is very time consuming.

Boolean values converted into a string

If you convert a boolean value into a string Railo generates the following values:

  • true into "true"
  • false into "false"
In the CFML standard a boolean will be converted into the above values only in compile time. At runtime boolean values are converted as follows:
  • true into "Yes"
  • false into "No"


  • Output Railo and CFML Standard: true
<cfoutput>#1 EQ 1#</cfoutput>
  • Output Railo: true
  • Output CFML Standard: Yes
Something went wrong with that request. Please try again.