diff options
| author | Marcus Boerger <helly@php.net> | 2006-07-15 10:21:10 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2006-07-15 10:21:10 +0000 |
| commit | 87c64280b0b6a03e61dae5a62ece5169f706938d (patch) | |
| tree | e6b5638d5d8db295930d95afc1f5982e1e236342 /ext/standard/basic_functions.c | |
| parent | 54dba635a31790f9b7802c258a5b85b680348a08 (diff) | |
| download | php-git-87c64280b0b6a03e61dae5a62ece5169f706938d.tar.gz | |
- MFH Added array_fill_keys(). (Marcus, Mathew W)
Diffstat (limited to 'ext/standard/basic_functions.c')
| -rw-r--r-- | ext/standard/basic_functions.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index dca64092df..c1a286660a 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -382,6 +382,12 @@ ZEND_BEGIN_ARG_INFO(arginfo_array_fill, 0) ZEND_END_ARG_INFO() static +ZEND_BEGIN_ARG_INFO(arginfo_array_fill_keys, 0) + ZEND_ARG_INFO(0, keys) /* ARRAY_INFO(0, keys, 0) */ + ZEND_ARG_INFO(0, val) +ZEND_END_ARG_INFO() + +static ZEND_BEGIN_ARG_INFO_EX(arginfo_range, 0, 0, 2) ZEND_ARG_INFO(0, low) ZEND_ARG_INFO(0, high) @@ -3672,6 +3678,7 @@ zend_function_entry basic_functions[] = { PHP_FE(extract, arginfo_extract) PHP_FE(compact, arginfo_compact) PHP_FE(array_fill, arginfo_array_fill) + PHP_FE(array_fill_keys, arginfo_array_fill_keys) PHP_FE(range, arginfo_range) PHP_FE(array_multisort, arginfo_array_multisort) PHP_FE(array_push, arginfo_array_push) |
