Created
December 21, 2012 14:43
-
-
Save nathanstanford2/4353213 to your computer and use it in GitHub Desktop.
Coldfusion: Dump Function (CFScript)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cffunction name="dump" output="true"> | |
<cfargument name="variable" type="any" required="true" /> | |
<cfargument name="abort" type="any" default="false" /> | |
<cfdump var="#arguments.variable#" /> | |
<cfif arguments.abort eq "true"> | |
<cfabort /> | |
</cfif> | |
</cffunction> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment