var $foo = array('foo' => $bar);
I am getting an UNEXPECTED T_VARIABLE error. I can't use variables when creating arrays?
This declaration is inside a class, and I am running PHP v5.3.2
When removing the var, I get another error Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION
Thanks