--TEST-- ReflectionClass::__toString() - various parameters --FILE-- --EXPECTF-- Deprecated: A::pubf(): Implicitly marking parameter $h as nullable is deprecated, the explicit nullable type must be used instead in %s on line %d Class [ class C extends A ] { @@ %s 14-14 - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [2] { Method [ public method privf ] { @@ %s 3 - 3 - Parameters [1] { Parameter #0 [ Exception $a ] } } Method [ public method pubf ] { @@ %s 4 - 11 - Parameters [8] { Parameter #0 [ A $a ] Parameter #1 [ $b ] Parameter #2 [ ?C $c = NULL ] Parameter #3 [ $d = K ] Parameter #4 [ $e = '15 chars long -' ] Parameter #5 [ $f = NULL ] Parameter #6 [ $g = false ] Parameter #7 [ ?array $h = NULL ] } } } }