1--TEST--
2Float type should allow an integer as default even with strict types
3--FILE--
4<?php
5
6declare(strict_types=1);
7
8function test(float $arg = 0)
9{
10    var_dump($arg);
11}
12
13test();
14
15?>
16--EXPECT--
17float(0)
18