Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/9ea69e5c718e71a54c2c348fde1728b9 to your computer and use it in GitHub Desktop.
Save trycf/9ea69e5c718e71a54c2c348fde1728b9 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
function test(string str, numeric num){
dump(arguments);
for (var a in arguments){
dump(arguments[a].getClass().getName())
}
}
test(1,2);
test("1","2");
test(1,"2");
test("1",2);
flush;
try {
test("1","lucee");
} catch(e){
echo(e);
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment