Issue #1880186 by hargobind, rsmylski: PHP 5.2 legacy compatibility: Parse error: syntax error, unexpected T_FUNCTION.