Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goto statement is not checked #200

Closed
cmb69 opened this issue May 12, 2015 · 1 comment
Closed

goto statement is not checked #200

cmb69 opened this issue May 12, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@cmb69
Copy link
Contributor

cmb69 commented May 12, 2015

It seems that the usage of the goto statement is not checked, but it's only available as of PHP 5.3.0. Consider the following script:

<?php
goto end;
end:

phpcompatinfo-4.1.0.phar analyser:run . reports:

Requires PHP 4.0.0 (min)
@llaville llaville added the bug label May 12, 2015
@llaville llaville added this to the 4.2.0 milestone May 12, 2015
@llaville llaville self-assigned this May 12, 2015
@llaville llaville changed the title goto keyword is not checked goto statement is not checked May 12, 2015
llaville added a commit that referenced this issue May 12, 2015
@llaville
Copy link
Owner

Thanks again for reporting Chistoph, and help to improve CompatInfo detection.

To all users: remember that the standard compatibility analyser is not a feature analyser, and in such way, it does not print PHP specific features and versions.

@llaville llaville mentioned this issue Aug 18, 2020
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants