Skip to content

Rename __callstatic (internal name) to __callStatic (userland name) #1049

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

Merged
merged 1 commit into from
Mar 9, 2015
Merged

Rename __callstatic (internal name) to __callStatic (userland name) #1049

merged 1 commit into from
Mar 9, 2015

Conversation

d3y4n
Copy link
Contributor

@d3y4n d3y4n commented Feb 4, 2015

In error messages.

class StaticFtw {
    public function __callStatic(){}
}

StaticFtw::foo();

PHP gives following error message:

Warning: The magic method __callStatic() must have public visibility and be static
Fatal error: Method StaticFtw::__callstatic() must take exactly 2 arguments

(Note the second error message).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants