Skip to content

Commit 2ead2f6

Browse files
committed
User filter
1 parent 87a5ebc commit 2ead2f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/standard/user_filters.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,9 @@ static php_stream_filter *user_filter_factory_create(const char *filtername,
285285
efree(wildcard);
286286
}
287287
if (fdat == NULL) {
288-
php_error_docref(NULL, E_WARNING,
289-
"Err, filter \"%s\" is not in the user-filter map, but somehow the user-filter-factory was invoked for it!?", filtername);
288+
zend_throw_error(NULL, "Filter \"%s\" is not in the user-filter map, "
289+
"but user-filter-factory was invoked for it."
290+
"This is a bug, please report it at https://bugs.php.net", filtername);
290291
return NULL;
291292
}
292293
}

0 commit comments

Comments
 (0)