1--TEST--
2SPL: Allow valid extension of SplFileObject::fscanf
3--FILE--
4<?php
5
6class A extends SplFileObject {
7    public function fscanf($format, &...$vars): array|int|null {
8
9    }
10}
11?>
12===DONE===
13--EXPECT--
14===DONE===
15