Alexia / php7mar

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

PHP Warning: Unterminated comment starting line 1 in classes/tests/critical.php on line 71 #22

Closed pierrocknroll closed 6 years ago

pierrocknroll commented 8 years ago

:)

Alexia commented 8 years ago

I am not seeing what that error is pointing out?

zbrag commented 7 years ago

Using php5.6 I also get this error, it has something to do with the $tokens = token_get_all("<?php ".$matches[1]."?>"); I haven't read the code so I won't try to guess what could be the fix 😄

denezt commented 6 years ago

Almost a year and a half later you get an answer: install the php#-tokenizer For example if you are using php7 then you need to install php7-tokenizer. ubuntu: apt-get install php7-tokenizer SUSE: zypper install php7-tokenizer