XP block version: 2016022404 -> '2.1.1'
Moodle 3.0.2+ (Build: 20160225)
PHP 5.4.31 (minimum version required by moodle 3.0.2+ is 5.4.4)
Fatal error: Can't use method return value in write context in [......]\blocks\xp\ladder.php on line 62
In php <5.5 empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).
XP block version: 2016022404 -> '2.1.1' Moodle 3.0.2+ (Build: 20160225) PHP 5.4.31 (minimum version required by moodle 3.0.2+ is 5.4.4)
Fatal error: Can't use method return value in write context in [......]\blocks\xp\ladder.php on line 62
In php <5.5 empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).