Hi,
is there any reason why __call shouldn't be invoked for static method
calls?

Reproduce
---------
php5 -r 'class A { function __call($name, $args) { var_dump($name,
$args); } } A::foo();'

Actual result
-------------
Fatal error: Call to undefined method A::foo() in Command line code on
line 1

Expected result
---------------
string(3) "foo"
array(0) {
}

- Timm

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to