Home
last modified time | relevance | path

Searched refs:varargs (Results 1 – 5 of 5) sorted by relevance

/PHP-8.3/Zend/tests/arrow_functions/
H A D006.phpt23 $varargs = fn(?int... $args): array => $args;
24 var_dump($varargs(20, null, 30));
26 $varargs(40, "foo");
/PHP-8.3/docs/
H A Dparameter-parsing-api.md200 /* Function that accepts only varargs (0 or more) */
203 zval *varargs = NULL;
210 /* do something with varargs[i] */
213 if (varargs) {
214 efree(varargs);
217 /* Function that accepts a string, followed by varargs (1 or more) */
222 zval *varargs = NULL;
229 /* do something with varargs[i] */
232 /* Function that takes an array, followed by varargs, and ending with a long */
236 zval *varargs = NULL;
[all …]
/PHP-8.3/scripts/dev/
H A Dcheck_parameters.php211 $optional = $varargs = false;
249 if ($varargs) {
254 $varargs = true;
/PHP-8.3/Zend/
H A Dzend_API.c1101 zval **varargs = NULL; in zend_parse_va_args() local
1200 varargs = va_arg(*va, zval **); in zend_parse_va_args()
1206 *varargs = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
1212 *varargs = NULL; in zend_parse_va_args()
1221 if (varargs && *varargs) { in zend_parse_va_args()
1222 *varargs = NULL; in zend_parse_va_args()
/PHP-8.3/ext/spl/
H A Dspl_directory.c2598 zval *varargs= NULL; in PHP_METHOD() local
2601 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S*", &format_str, &varargs, &num_varargs) == FAILURE) { in PHP_METHOD()
2612 …internal(intern->u.file.current_line, ZSTR_VAL(format_str), num_varargs, varargs, 0, return_value); in PHP_METHOD()

Completed in 42 milliseconds