Answer the question
In order to leave comments, you need to log in
How to fix "Parse error: syntax error, unexpected '.', expecting ',' or ';'" "?
Hello. I have a trace. the code:
class Process extends CModel{
public $path1 = __DIR__.'/files/config.txt';
}
Answer the question
In order to leave comments, you need to log in
when you declare a property, you are trying to perform an action - string concatenation.
this is done in methods
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question