I try to start a new simple symfony 5 project. When I start the server "symfony server : start", I have this answer :
Parse error: syntax error, unexpected '?' in C:Users\fadin\Desktop\cours\l3-web-2022-23-b-TP2\vendor\autoload_runtime.php on line 15. I have Windows 10, PHP 8.1.17, and Symfony 5.4.18.
It doesn't seem to understand the "?" symbol because it simply doesn't interpret it, I don't have an error in my code I can certify it
I try to launch a server that is local, and here is what my terminal displays:
I tried to reinstall PHP and symfony and Composer, I checked the PATH updates but I don't see what the problem is. I had seen that it was maybe a compatibility problem but I don't see how because I only have recent versions.