1--TEST--
2__callStatic first parameter should be a string typed
3--FILE--
4<?php
5class Foo {
6 static function __callStatic(int $name, array $arguments) {}
7}
8?>
9--EXPECTF--
10Fatal error: Foo::__callStatic(): Parameter #1 ($name) must be of type string when declared in %s on line %d
11