Searched refs:varargs (Results 1 – 5 of 5) sorted by relevance
/php-src/Zend/tests/arrow_functions/ |
H A D | 006.phpt | 23 $varargs = fn(?int... $args): array => $args; 24 var_dump($varargs(20, null, 30)); 26 $varargs(40, "foo");
|
/php-src/docs-old/ |
H A D | parameter-parsing-api.md | 206 /* Function that accepts only varargs (0 or more) */ 209 zval *varargs = NULL; 216 /* do something with varargs[i] */ 219 if (varargs) { 220 efree(varargs); 223 /* Function that accepts a string, followed by varargs (1 or more) */ 228 zval *varargs = NULL; 235 /* do something with varargs[i] */ 238 /* Function that takes an array, followed by varargs, and ending with a long */ 242 zval *varargs = NULL; [all …]
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 204 $optional = $varargs = false; 242 if ($varargs) { 247 $varargs = true;
|
/php-src/Zend/ |
H A D | zend_API.c | 1154 zval **varargs = NULL; in zend_parse_va_args() local 1253 varargs = va_arg(*va, zval **); in zend_parse_va_args() 1259 *varargs = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args() 1265 *varargs = NULL; in zend_parse_va_args() 1274 if (varargs && *varargs) { in zend_parse_va_args() 1275 *varargs = NULL; in zend_parse_va_args()
|
/php-src/ext/spl/ |
H A D | spl_directory.c | 2580 zval *varargs= NULL; in PHP_METHOD() local 2583 if (zend_parse_parameters(ZEND_NUM_ARGS(), "S*", &format_str, &varargs, &num_varargs) == FAILURE) { in PHP_METHOD() 2594 …AL(intern->u.file.current_line), ZSTR_VAL(format_str), (int)num_varargs, varargs, 0, return_value); in PHP_METHOD()
|
Completed in 47 milliseconds