Dear Andrey,
Thank you for your response. We have alternative tried alternative options for PHP, 7.2.21 and 7.1.31 and the result is exactly the same. The problem must be with zendframework/zend-diactoros application which results in syntax error. Please advise if we can complete installation without this application or if you can suggest a change in the code of marshal_headers_from_sapi.php file that will resolve the problem of the expecting identifier. Thank you in advance for your assistance.