cvs: php4 /ext/standard array.c
| From: | Egon Schmid | Date: | Sun, 25 Jun 2000 13:21:37 +0000 |
| Subject: | cvs: php4 /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-446@lists.php.net to get a copy of this message | ||
eschmid Sun Jun 25 06:21:37 2000 EDT
Modified files:
/php4/ext/standard array.c
Log:
The second array_merge() is now array_merge_recursive().
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.57 php4/ext/standard/array.c:1.58
--- php4/ext/standard/array.c:1.57 Sat Jun 17 20:45:08 2000
+++ php4/ext/standard/array.c Sun Jun 25 06:21:37 2000
@@ -839,7 +839,7 @@
}
/* }}} */
-/* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, ...]])
+/* {{{ proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
Return the lowest value in an array or a series of arguments */
PHP_FUNCTION(min)
{
@@ -891,7 +891,7 @@
}
/* }}} */
-/* {{{ proto mixed max(mixed arg1 [, mixed arg2 [, ...]])
+/* {{{ proto mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
Return the highest value in an array or a series of arguments */
PHP_FUNCTION(max)
{
@@ -1238,7 +1238,7 @@
/* }}} */
-/* {{{ proto array compact(mixed var_names [, ... ])
+/* {{{ proto array compact(mixed var_names [, mixed ... ])
Creates a hash containing variables and their values */
PHP_FUNCTION(compact)
{
@@ -1417,7 +1417,7 @@
/* }}} */
-/* {{{ proto int array_push(array stack, mixed var [, ...])
+/* {{{ proto int array_push(array stack, mixed var [, mixed ...])
Pushes elements onto the end of the array */
PHP_FUNCTION(array_push)
{
@@ -1521,7 +1521,7 @@
/* }}} */
-/* {{{ proto int array_unshift(array stack, mixed var [, ...])
+/* {{{ proto int array_unshift(array stack, mixed var [, mixed ...])
Pushes elements onto the beginning of the array */
PHP_FUNCTION(array_unshift)
{
@@ -1806,7 +1806,7 @@
}
-/* {{{ proto array array_merge(array arr1, array arr2 [, ...])
+/* {{{ proto array array_merge(array arr1, array arr2 [, mixed ...])
Merges elements from passed arrays into one array */
PHP_FUNCTION(array_merge)
{
@@ -1815,7 +1815,7 @@
/* }}} */
-/* {{{ proto array array_merge(array arr1, array arr2 [, ...])
+/* {{{ proto array array_merge_recursive(array arr1, array arr2 [, mixed ...])
Recursively merges elements from passed arrays into one array */
PHP_FUNCTION(array_merge_recursive)
{
@@ -2196,9 +2196,8 @@
}
/* }}} */
-/* {{{ proto array array_intersect(array arr1, array arr2 [, ...])
- Returns the entries of arr1 that have values which are present in
- all the others arguments */
+/* {{{ proto array array_intersect(array arr1, array arr2 [, mixed ...])
+ Returns the entries of arr1 that have values which are present in all the other arguments */
PHP_FUNCTION(array_intersect)
{
zval ***args = NULL;
@@ -2294,7 +2293,7 @@
}
/* }}} */
-/* {{{ proto array array_diff(array arr1, array arr2 [, ...])
+/* {{{ proto array array_diff(array arr1, array arr2 [, mixed ...])
Returns the entries of arr1 that have values which are not present in
any of the others arguments */
PHP_FUNCTION(array_diff)
@@ -2583,7 +2582,7 @@
/* }}} */
-/* {{{ proto mixed array_rand(array input [, int num_req ])
+/* {{{ proto mixed array_rand(array input [, int num_req])
Return key/keys for random entry/entries in the array */
PHP_FUNCTION(array_rand)
{