Created
May 16, 2025 08:07
-
-
Save trycf/9ea69e5c718e71a54c2c348fde1728b9 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains hidden or 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
<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