Quote:
Originally Posted by JkWhoSaysNi
hmm actually that doesnt seem to work either
PHP Code:
temp.test = "something";
this.(@temp.test).add(5);
echo(this.something[0]);
echos null.
|
PHP Code:
temp.test = "something";
this.(@temp.test) = new[1];
this.(@temp.test)[0] = 5;
echo(this.something[0]);
I'd try that. As a blank string, I don't think [0] is even created... The variable type isn't set yet. By doing the