-
Bug
-
Resolution: Fixed
-
Blocker
-
3.1.11
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
A problem in 31_STABLE has been detected under php 54 and 55:
Moodle 3.1.11+ (Build: 20180509), b6c0d8fc2a3f30bc37a3f1dbcd115df9e2a263f9
|
Php: 5.4.45, pgsql: 9.3.20, OS: Darwin 15.6.0 x86_64
|
PHP Parse error: syntax error, unexpected '.', expecting ',' or ';' in /git_repositories/MOODLE_31_STABLE/question/type/calculated/questiontype.php on line 49
|
PHP 54 and 55 don't allow such a complications in constants:
Ciao
PS: Note this in ONLY 31_STABLE. Next versions already require php 56, and it works ok there.