1--TEST--
2Call function with correct number of arguments with strict types
3--FILE--
4<?php
5declare(strict_types=1);
6function foo() { }
7foo();
8
9function bar($foo, $bar) { }
10bar(1, 2);
11
12function bat(int $foo, string $bar) { }
13bat(123, "foo");
14
15$fp = fopen(__FILE__, "r");
16fclose($fp);
17
18echo "done";
19?>
20--EXPECT--
21done
22