diff options
author | Johannes Schlüter <johannes@php.net> | 2008-07-31 20:18:17 +0000 |
---|---|---|
committer | Johannes Schlüter <johannes@php.net> | 2008-07-31 20:18:17 +0000 |
commit | b9f7b21ec1c563c08ba431c952c48b556b30cdbe (patch) | |
tree | 1d44fc7d94250ea3fdf4eb252ec97a945a5225af /ext/standard/php_array.h | |
parent | 32508702493061b20f2ab332d290b6d05bac502f (diff) | |
download | php-git-b9f7b21ec1c563c08ba431c952c48b556b30cdbe.tar.gz |
MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas)
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 8965f65921..00b336781c 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -66,6 +66,8 @@ PHP_FUNCTION(array_splice); PHP_FUNCTION(array_slice); PHP_FUNCTION(array_merge); PHP_FUNCTION(array_merge_recursive); +PHP_FUNCTION(array_replace); +PHP_FUNCTION(array_replace_recursive); PHP_FUNCTION(array_keys); PHP_FUNCTION(array_values); PHP_FUNCTION(array_count_values); @@ -102,6 +104,7 @@ PHP_FUNCTION(array_combine); PHPAPI HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **); PHPAPI int php_array_merge(HashTable *dest, HashTable *src, int recursive TSRMLS_DC); +PHPAPI int php_array_replace_recursive(HashTable *dest, HashTable *src TSRMLS_DC); PHPAPI int php_multisort_compare(const void *a, const void *b TSRMLS_DC); #define PHP_SORT_REGULAR 0 |