PHP Code:
function onCreated() {
temp.output = {};
this.test.var = "testing";
temp.output.add( this.test.getDynamicVarNames() );
this.test.var = "";
temp.output.add( this.test.getDynamicVarNames() );
clearemptyvars();
temp.output.add( this.test.getDynamicVarNames() );
echo(temp.output);
}
This example does not crash. And it also demonstrates the use of clearemptyvars() I was trying to demonstrate. Very useful.