andrey Thu Sep 12 04:20:37 2002 EDT Modified files: /php4/ext/standard array.c Log: Fixing my zts fix. #Sorry Edin Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.191 php4/ext/standard/array.c:1.192 --- php4/ext/standard/array.c:1.191 Thu Sep 12 04:04:42 2002 +++ php4/ext/standard/array.c Thu Sep 12 04:20:37 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.191 2002/09/12 08:04:42 andrey Exp $ */ +/* $Id: array.c,v 1.192 2002/09/12 08:20:37 andrey Exp $ */ #include "php.h" #include "php_ini.h" @@ -2624,7 +2624,7 @@ } /* }}} */ -static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior TSRMLS_DC) +static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior) { zval ***args = NULL; HashTable *hash; @@ -2759,7 +2759,7 @@ Returns the entries of arr1 that have values which are not present in any of the others arguments */ PHP_FUNCTION(array_diff) { - php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_NORMAL TSRMLS_CC); + php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_NORMAL); } /* }}} */ @@ -2767,7 +2767,7 @@ Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal */ PHP_FUNCTION(array_diff_assoc) { - php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_ASSOC TSRMLS_CC); + php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_ASSOC); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php