I am trying to store the value of an xml node and keep it the same even if it updates.
If I do:
$sxml->node = 1;
$blah = $sxml->node;
echo($blah . "<br />");
$sxml->node = 2;
echo($blah . "<br />");
The output will be
1
2
I want $blah to stay the same regardless of what happens to $sxml->node. How would I do this?