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

Add magic constant "::class" like in PHP 5.5 #45

Open
kse300489 opened this issue Apr 15, 2015 · 5 comments
Open

Add magic constant "::class" like in PHP 5.5 #45

kse300489 opened this issue Apr 15, 2015 · 5 comments

Comments

@kse300489
Copy link

Php 5.5 example:

namespace Name\Space;
class ClassName {}

echo ClassName::class;

echo "\n";

Output:

Name\Space\ClassName
@ovr
Copy link

ovr commented Apr 15, 2015

Suggest to use only uppercase CLASS for NFR

@kse300489
Copy link
Author

Never mind.

@hylent
Copy link

hylent commented Apr 15, 2015

👍

1 similar comment
@KorsaR-ZN
Copy link

👍

@dschissler

This comment was marked as abuse.

@sergeyklay sergeyklay transferred this issue from zephir-lang/zephir Nov 13, 2018
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

No branches or pull requests

5 participants