Why I can't use separators (.) in variables inside a class?
class Object(){
public $var = "Hello"."World";
# Or
public $test = "Hello";
public $var2 = $this->test."World";
}
This code gives me this error:
Parse error: syntax error, unexpected '.', expecting ',' or ';' in test.php on line 2
And how should I do it?