--TEST-- __call first parameter should be a string typed --FILE-- --EXPECTF-- Fatal error: Foo::__call(): Parameter #1 ($name) must be of type string when declared in %s on line %d