Difference php 7 vs php 8
Автор: Anders W.
Просмотрено 1457,
Подписчики 1,
Размещенный 0
I using XAMMP to run apache on my server home, when i used early version of XAMMP that has php 7 there was no problem.
Now i installed the new version of XAMMP wich has php 8 in apache.
This error came up when i filled in in a contactform and click send.
Maybe they change the syntax in php8, any solutions to this would be very nice
Fatal error: Unparenthesized `a ? b : c ? d : e` is not supported. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in C:\xampp\htdocs\_domaner\wickes_se\res\x5engine.php on line 5720
Размещено
Hello.As far as I know, WebSite X5 is not yet PHP 8 compatible. Use PHP 7.
"Maybe they change the syntax in php8, any solutions to this would be very nice" - I think this can be expected in new versions of the program (but I don't know when).
Автор
Hello Thanks for your answer, yes i have gone back to php 7, it works fine :)