summaryrefslogtreecommitdiff
path: root/ext/standard/php_array.h
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2008-07-31 20:18:17 +0000
committerJohannes Schlüter <johannes@php.net>2008-07-31 20:18:17 +0000
commitb9f7b21ec1c563c08ba431c952c48b556b30cdbe (patch)
tree1d44fc7d94250ea3fdf4eb252ec97a945a5225af /ext/standard/php_array.h
parent32508702493061b20f2ab332d290b6d05bac502f (diff)
downloadphp-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.h3
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