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

Treat global constant declared using const keyword as global and not class constant #53

Closed
wants to merge 2 commits into from

Conversation

tetsuo13
Copy link
Contributor

Distinguish between const keyword used inside class definition and not (#50)

PHP 5.3.0 introduced behavior of using const keyword in place of define() for global constants. token_get_all() still treats it as a class constant however.

#50)

PHP 5.3.0 introduced behavior of using const keyword in place of define() for
global constants. token_get_all() still treats it as a class constant however.
@tetsuo13 tetsuo13 closed this Nov 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants