C
C
codenaki2018-04-02 14:27:23
PHP
codenaki, 2018-04-02 14:27:23

How to fix this incompatibility in the code?

When I try to run the test, I get, It's
not clear where the incompatibility with versions is?
php unit -> versions : * 7.0.3
php version (php -v) -> PHP 7.1.7
Error ;

PHP Parse error: syntax error, unexpected '?'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Станислав Б, 2018-04-02
@S_Borchev

php unit -> versions : * 7.0.3
php version (php -v) -> PHP 7.1.7

тут нет никакой несовместимости.
php unit -> versions : * 7.0.3 - это версия пхпюнита и он требует как раз 7.1+ версию пхп.
у вас просто где то синтаксическая ошибка. в вашем коде.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question