[prev in list] [next in list] [prev in thread] [next in thread]
List: php-cvs
Subject: [PHP-CVS] cvs: php4 /ext/standard array.c
From: "Andrei Zmievski" <andrei () ispi ! net>
Date: 2001-08-31 3:41:48
[Download RAW message or body]
andrei Fri Aug 31 00:52:11 2001 EDT
Modified files:
/php4/ext/standard array.c
Log:
@- Made in_array() and search_array() allow the needle to be an array in
@ itself. (Andrei)
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.126 php4/ext/standard/array.c:1.127
--- php4/ext/standard/array.c:1.126 Tue Aug 28 17:50:37 2001
+++ php4/ext/standard/array.c Fri Aug 31 00:52:10 2001
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.126 2001/08/28 21:50:37 rasmus Exp $ */
+/* $Id: array.c,v 1.127 2001/08/31 04:52:10 andrei Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -1048,7 +1048,7 @@
WRONG_PARAM_COUNT;
}
- if (Z_TYPE_PP(value) == IS_ARRAY || Z_TYPE_PP(value) == IS_OBJECT) {
+ if (Z_TYPE_PP(value) == IS_OBJECT) {
php_error(E_WARNING, "Wrong datatype for first argument in call to %s", \
get_active_function_name(TSRMLS_C)); RETURN_FALSE;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
For additional commands, e-mail: php-cvs-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic