Home
last modified time | relevance | path

Searched refs:variadic (Results 1 – 24 of 24) sorted by relevance

/PHP-8.3/ext/reflection/tests/
H A Dgh10623.phpt2 GH-10623 (ReflectionFunction::getClosureUsedVariables() returns empty array in presence of variadic
13 $closure = function($var, ...$variadic) {};
16 $closure = function($var, ...$variadic) use($data1) {};
19 $closure = function($var, ...$variadic) use($data1, $data2, $data3) {};
22 $closure = function(...$variadic) use($data1) {};
25 $closure = function($var, $var2, ...$variadic) {};
28 $closure = function($var, $var2, $var3, ...$variadic) use($data1, $data2, $data3) {};
/PHP-8.3/Zend/tests/variadic/
H A Donly_last_error.phpt2 Only the last argument can be variadic
10 Fatal error: Only the last parameter can be variadic in %s on line %d
H A Dvariadic_implements_non_variadic.phpt2 A non-variadic function can be turned into a variadic one
H A Dnon_variadic_implements_variadic_error.phpt2 It's not possible to turn a variadic function into a non-variadic one
H A Dlegal_variadic_override.phpt2 Cases where non-variadic parameters are allowed to be subsumed by a variadic one
H A Dclosure_invoke.phpt2 Closure::__invoke() with variadic parameter
H A Dremoving_parameter_error.phpt2 It is possible to remove required parameter before a variadic parameter
H A Dtypehint_suppressed_error.phpt2 Error suppression for types on variadic arguments works
H A Doptional_params.phpt2 Optional parameter before variadic parameter
H A Dbasic.phpt2 Basic variadic function
H A Dillegal_variadic_override_ref.phpt2 Illegal variadic inheritance due to reference mismatch
H A Dillegal_variadic_override_type.phpt2 Illegal variadic inheritance due to type mismatch
H A Dvariadic_changed_typehint_error.phpt2 Typehints for variadic arguments have to be compatible
/PHP-8.3/Zend/tests/
H A Dctor_promotion_variadic.phpt2 Cannot use constructor promotion with variadic parameter
12 Fatal error: Cannot declare variadic promoted property in %s on line %d
H A Dbug80049.phpt2 Bug #80049: Memleak when coercing integers to string via variadic argument
H A Dbug69599.phpt2 Bug #69599: Strange generator+exception+variadic crash
H A Dbug67938.phpt2 Bug #67938: Segfault when extending interface method with variadic
/PHP-8.3/Zend/tests/type_declarations/
H A Dclosure_with_variadic.phpt2 Closure with variadic type declaration
/PHP-8.3/Zend/tests/function_arguments/
H A Dvariadic_argument_type_error.phpt2 Call userland function with incorrect variadic argument type
H A Dsensitive_parameter_variadic_arguments.phpt2 The SensitiveParameter attribute suppresses all variadic arguments.
H A Dsensitive_parameter_correctly_captures_original.phpt31 #[SensitiveParameter] ...$variadic,
/PHP-8.3/ext/zend_test/tests/
H A Dvariadic_arguments.phpt2 Verify that variadic arguments create proper stub
/PHP-8.3/build/
H A Dgen_stub.php3500 $foundVariadic = $param->variadic;
3505 $param->variadic,
3511 if (!$param->default && !$param->variadic) {
/PHP-8.3/ext/reflection/
H A Dphp_reflection.c3369 static void reflection_method_invoke(INTERNAL_FUNCTION_PARAMETERS, int variadic) in reflection_method_invoke() argument
3388 if (variadic) { in reflection_method_invoke()
3419 if (!variadic) { in reflection_method_invoke()

Completed in 80 milliseconds