Created
August 2, 2022 16:04
-
-
Save trycf/af160c3865459712a1c033c023ef7feb to your computer and use it in GitHub Desktop.
TryCF Gist
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
<cfscript> | |
function test( a ) localmode=true{ | |
a=arguments.a; | |
dump(var=a, label="a 1"); | |
dump(var=arguments.a, label="arguments.a"); | |
a=3; | |
dump(var=arguments.a, label="arguments.a"); | |
dump(var=a, label="a 2"); | |
arguments.a=4; | |
dump(var=arguments.a, label="arguments.a"); | |
dump(var=a, label="a 3"); | |
dump(var=(a === arguments.a), label="a"); | |
} | |
a =1; | |
dump(var=a, label="before"); | |
timer type="outline" { | |
test(a); | |
} | |
dump(var=a, label="after"); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment