View Single Post
  #5  
Old 06-26-2007, 08:11 PM
Novo Novo is offline
[TServerDeveloper]
Join Date: Jun 2006
Posts: 448
Novo will become famous soon enough
Quote:
Originally Posted by JkWhoSaysNi View Post
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
Reply With Quote