Quote:
|
Originally Posted by Riot
You know there is a built-in savevarstoarray function
HTML Code:
temp.object = new TStaticVar();
temp.object.test = "test";
temp.object.test.bar = "test2";
temp.arrayholder = temp.object.savevarstoarray(false);
echo(temp.arrayholder) outputs
HTML Code:
scriptlogmissingfunctions=false,timeout=0,joinedclasses=,test=test,test.bar=test2
http://wiki.graal.net/index.php/Crea...lVar#Functions
|
Ah, nice. I couldn't find a function like that when I originally wrote that code. It was probably there, I just wasn't looking hard enough.