1--TEST--
2ReflectionParameter::__toString() with new initializer
3--FILE--
4<?php
5
6function test(
7    $p1 = new stdClass,
8    $p2 = new SomeClass(new With, some: new Parameters)
9) {}
10
11echo new ReflectionParameter('test', 'p1'), "\n";
12echo new ReflectionParameter('test', 'p2'), "\n";
13
14?>
15--EXPECT--
16Parameter #0 [ <optional> $p1 = new \stdClass() ]
17Parameter #1 [ <optional> $p2 = new \SomeClass(new \With(), some: new \Parameters()) ]
18