so I have some namespaces defined and I wand to instance new objects like this:
$this->controller = new controller$this->controller($this->cfg);
but I get a
Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting identifier (T_STRING)
How can I make this work?
See Question&Answers more detail:os