Hello , i know that $va-ri-able it's an ilegal name for an variabiel.. but i noticted that i can declar something like $vector['12-15-09']='text'; is this 100% ok and compatible?!
It looks ok to me and doesn't seem to be a reserved name. See this list for all reserved words of php. To be honest, I would just use other variable names for your variables, such as: $my_variable = 'this'; PHP: Rather than wasting time with this sort of thing!
It depends from what you need exactly. You can use "Variable Variables" syntax: So, you will have a variable with name "$va-ri-able" and value "value". And you can also use another syntax: The same result.