How can I access a property with an invalid name?
Solution 1:
Thanks to the comments (@AbraCadaver), Complex (curly) syntax is the way to go for invalid variables or property names:
$insertArray[0]->{"First.Name"} = $firstname;
Thanks to the comments (@AbraCadaver), Complex (curly) syntax is the way to go for invalid variables or property names:
$insertArray[0]->{"First.Name"} = $firstname;