I am facing this type of error.Unable to access any CLI on Setup. Version Compataible is also match but still no luck.
Parse error: syntax error, unexpected '?', expecting variable (T_VARIABLE)
- PHP version : 7.2
- Magento version : 2.3
It's php version issue check the reference: https://github.com/magento/magento2/issues/17285
you need to make sure you php version is greater than 7.1.3 in command line by using the command
Check the Magento 2.3 technology stack requirement: