xref: /PHP-8.1/Zend/tests/magic_methods_018.phpt (revision c5401854)
1--TEST--
2__callStatic second parameter should be an array typed
3--FILE--
4<?php
5class Foo {
6    static function __callStatic(string $name, \Arguments $args) {}
7}
8?>
9--EXPECTF--
10Fatal error: Foo::__callStatic(): Parameter #2 ($args) must be of type array when declared in %s on line %d
11