I get an error when I use date() when initializing an instance variable
class User extends Connectable {
private $date = date('Y-m-d');
}
The error is
Parse error: syntax error, unexpected '(', expecting ',' or ';'
This is weird, because it works fine when I call date() from inside a function, or outside the class...