I have a variable that has to be unset if a condition is met:
unset($myVar);
However, further down the method I have an all-encompassing global keyword that is required to globalize every single element it finds (which will include $myVar):
global ${$elementName};
Where $elementName = ('myVar' | 'myOtherVar' | 'myOtherOtherVar' | ...)
Because of the code structure inasmuch as dynamically naming and setting collection object elements as it does, I can't change the code. So then, how do I "unglobal" $myVar based on this?
Thanx
Phil