The error that occurred when installing a fresh version of WordPress on a new hosting:
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /wp-includes/functions.php on line 1064
The solution turned out to be extremely simple: the PHP 5.4 version was activated on the hosting, when the version was changed to 7.1, the WordPress installation started without errors – because for WordPress version 5.2+ it is mandatory to use PHP version 5.6.20 or above.
If you do not know how to change the PHP version on your hosting, just contact Technical support of your hosting provider.