I'm practicing coding using Laravel 9 (for the first time) and reinstalling it. However, running it through cmd or Terminal throws an error saying the following.
Syntax error: unexpected token '?' PHP(PHP2014) in the folder vender/symfony/http-kernel/Attribule/MapDataTime.php.
Syntax error: unexpected token 'Requirement' PHP(PHP2014)] The other will be in vender/symfony/routing/Requirement/Requirement.php
I'm looking for a solution.