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

False Positive: call static method on FQCN string #123

Open
paulmallet opened this issue Jul 17, 2017 · 0 comments
Open

False Positive: call static method on FQCN string #123

paulmallet opened this issue Jul 17, 2017 · 0 comments

Comments

@paulmallet
Copy link

Test code :

var_dump("\DateTime"::createFromFormat('d', '01'));

with 7.0 :

`object(DateTime)#1 (3) { ["date"]=> string(26) "2017-07-01 05:33:28.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(16) "America/New_York" }`

With php7cc :

Syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ',' or ')' on line 4. Processing aborted.
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

1 participant