Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/87b44d40d3400dfa97b4d19911b58a07 to your computer and use it in GitHub Desktop.
Save trycf/87b44d40d3400dfa97b4d19911b58a07 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfxml variable="myXMLVar"><myXML><a></a></myXML></cfxml>
<cfscript>
myXMLVar2 = duplicate(myXMLVar.myXML.a);
myXMLVar3 = myXMLVar.myXML.a.duplicate();
writeDump(myXMLVar);
writeDump(myXMLVar2);
writeDump(myXMLVar3);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment