I do not understand the rationale behind the different treatment of variable assignment between global context and class context:
$var1 = "a" . "b"; # PHP syntax o.k.
class myClass {
private $var2 = "a" . "b"; # PHP Parse error: syntax error, unexpected '.', expecting ',' or ';'
}
P.S.: visibility of property (private/protected/public) doesn't play a role.