- Fix PECL bug #5963
authorfoobar <sniper@php.net>
Thu, 17 Nov 2005 00:03:03 +0000 (00:03 +0000)
committerfoobar <sniper@php.net>
Thu, 17 Nov 2005 00:03:03 +0000 (00:03 +0000)
ext/filter/filter.c

index 74076e5c4f9ddd578484dbb7a701f82c391458f3..c7781c709493896d307678075b4aff570ba438c5 100644 (file)
@@ -301,6 +301,9 @@ static void php_zval_filter(zval *value, long filter, long flags, zval *options,
                filter_func = php_find_filter(FS_DEFAULT);
        }
 
+       /* Here be strings */
+       convert_to_string(value);
+
        filter_func.function(value, flags, options, charset TSRMLS_CC);
 }