Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
php-pulls merged 1 commit into
php:masterphp/php-src:masterfrom
d3y4n:fix/callstatic_name_consistencyCopy head branch name to clipboard
Mar 9, 2015
Merged

Rename __callstatic (internal name) to __callStatic (userland name)#1049
php-pulls merged 1 commit into
php:masterphp/php-src:masterfrom
d3y4n:fix/callstatic_name_consistencyCopy head branch name to clipboard

Conversation

@d3y4n
Copy link
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.