[PR][php-src][#1049][master] - Rename __callstatic (internal name) to __callStatic (userland name)
| From: | noreply@php.net | Date: | Mon, 09 Mar 2015 00:58:32 +0000 |
| Subject: | [PR][php-src][#1049][master] - Rename __callstatic (internal name) to __callStatic (userland name) | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-2681@lists.php.net to get a copy of this message | ||
You can view the Pull Request on github:
https://github.com/php/php-src/pull/1049
Pull Request Description:
In error messages.
```php
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).