Home
last modified time | relevance | path

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

/PHP-8.0/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.0/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.0/scripts/dev/
H A Dcheck_parameters.php210 $optional = $varargs = false;
248 if ($varargs) {
253 $varargs = true;
/PHP-8.0/Zend/
H A Dzend_API.c961 zval **varargs = NULL; in zend_parse_va_args() local
1060 varargs = va_arg(*va, zval **); in zend_parse_va_args()
1066 *varargs = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
1072 *varargs = NULL; in zend_parse_va_args()
1081 if (varargs && *varargs) { in zend_parse_va_args()
1082 *varargs = NULL; in zend_parse_va_args()
/PHP-8.0/ext/spl/
H A Dspl_directory.c2606 zval *varargs= NULL; in PHP_METHOD() local
2609 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S*", &format_str, &varargs, &num_varargs) == FAILURE) { in PHP_METHOD()
2620 …internal(intern->u.file.current_line, ZSTR_VAL(format_str), num_varargs, varargs, 0, return_value); in PHP_METHOD()

Completed in 30 milliseconds