How do I make static arrays? I get errors from the following code snippets:
class t1{
private static $vArray = array();
private static $vArray[1] = 'bar';
}
class t2{
private static $vArray[1] = 'bar';
}
It doesn't want to let me populate an actual array variable. I'm trying to make a huge private static array of my database tables.