AndyJarrett Code. Develop. Manage.

Uncompleted CF tags gotcha

This is probably just the way my brain is working on this monday but i just got caught out on the following code.
<cfif true eq false>

<cf true eq false>

<cfelse>
   TRUE MUST EQUAL TRUE
</cfif>
You'll notice the <cf tag which should be a <cfelseif>. I thought CF would break at this point but it doesnt, apparently it waits for the next (fourth) character before passing and evaluating.
I’m here, learning and working away. If you liked this content and want to keep me going, consider buying me a coffee.
Your support keeps this site running and the coffee brewing! ☕️