| modification, are permitted provided that the conditions mentioned |
| in the accompanying LICENSE file are met. |
+--------------------------------------------------------------------+
- | Copyright (c) 2004-2007, Michael Wallner <mike@php.net> |
+ | Copyright (c) 2004-2010, Michael Wallner <mike@php.net> |
+--------------------------------------------------------------------+
*/
ZVAL_STRINGL(&ex_del, ",", 1, 0);
array_init(&ex_arr);
- php_explode(&ex_del, accept, &ex_arr, -1);
+ php_explode(&ex_del, accept, &ex_arr, INT_MAX);
if (zend_hash_num_elements(Z_ARRVAL(ex_arr)) > 0) {
int i = 0;