Alexia / php7mar

PHP 7 Migration Assistant Report (MAR)
GNU General Public License v3.0
795 stars 133 forks source link

Parse Error #28

Closed lphooge closed 7 years ago

lphooge commented 7 years ago

When running mar.php i get the following error: PHP Parse error: syntax error, unexpected '[', expecting ')' in /usr/local/share/php7mar/mar.php on line 58

Maybe php7mar itelf needs PHP 7? I don't see any mention of that in the readme.

cwhsu1984 commented 7 years ago

Actually, I am not so sure about installing php7 now. About 6 months ago, php7mar used to require user to install php7. But I just take a look again, there is no such requirement in the README.

Alexia commented 7 years ago

Just needs 5.4 as a minimum to run it and only 7.0 only needs to be installed for running syntax checks against 7.0.