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