PHP array key’s and the period (dot) character
March 31st, 2009
I found today that you cannot have a period in your string key. For example, this is invalid:
$array['my.name'] = “some name”;
This is most important to note when you are posting (or getting for that matter) into a script. I found this out while attempting to Post data from an AJAX call to my server. PHP automatically turns periods (dots) into underscores. Check out the reference below, it took me FOREVER to find supporting material to this theory…
http://php.net/manual/en/language.variables.external.php#language.variables.external.dot-in-names
Happy coding