Searched refs:variadic (Results 1 – 24 of 24) sorted by relevance
/PHP-8.3/ext/reflection/tests/ |
H A D | gh10623.phpt | 2 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 D | only_last_error.phpt | 2 Only the last argument can be variadic 10 Fatal error: Only the last parameter can be variadic in %s on line %d
|
H A D | variadic_implements_non_variadic.phpt | 2 A non-variadic function can be turned into a variadic one
|
H A D | non_variadic_implements_variadic_error.phpt | 2 It's not possible to turn a variadic function into a non-variadic one
|
H A D | legal_variadic_override.phpt | 2 Cases where non-variadic parameters are allowed to be subsumed by a variadic one
|
H A D | closure_invoke.phpt | 2 Closure::__invoke() with variadic parameter
|
H A D | removing_parameter_error.phpt | 2 It is possible to remove required parameter before a variadic parameter
|
H A D | typehint_suppressed_error.phpt | 2 Error suppression for types on variadic arguments works
|
H A D | optional_params.phpt | 2 Optional parameter before variadic parameter
|
H A D | basic.phpt | 2 Basic variadic function
|
H A D | illegal_variadic_override_ref.phpt | 2 Illegal variadic inheritance due to reference mismatch
|
H A D | illegal_variadic_override_type.phpt | 2 Illegal variadic inheritance due to type mismatch
|
H A D | variadic_changed_typehint_error.phpt | 2 Typehints for variadic arguments have to be compatible
|
/PHP-8.3/Zend/tests/ |
H A D | ctor_promotion_variadic.phpt | 2 Cannot use constructor promotion with variadic parameter 12 Fatal error: Cannot declare variadic promoted property in %s on line %d
|
H A D | bug80049.phpt | 2 Bug #80049: Memleak when coercing integers to string via variadic argument
|
H A D | bug69599.phpt | 2 Bug #69599: Strange generator+exception+variadic crash
|
H A D | bug67938.phpt | 2 Bug #67938: Segfault when extending interface method with variadic
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | closure_with_variadic.phpt | 2 Closure with variadic type declaration
|
/PHP-8.3/Zend/tests/function_arguments/ |
H A D | variadic_argument_type_error.phpt | 2 Call userland function with incorrect variadic argument type
|
H A D | sensitive_parameter_variadic_arguments.phpt | 2 The SensitiveParameter attribute suppresses all variadic arguments.
|
H A D | sensitive_parameter_correctly_captures_original.phpt | 31 #[SensitiveParameter] ...$variadic,
|
/PHP-8.3/ext/zend_test/tests/ |
H A D | variadic_arguments.phpt | 2 Verify that variadic arguments create proper stub
|
/PHP-8.3/build/ |
H A D | gen_stub.php | 3500 $foundVariadic = $param->variadic; 3505 $param->variadic, 3511 if (!$param->default && !$param->variadic) {
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 3369 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 90 milliseconds