From: Ilia Alshanetsky Date: Tue, 16 May 2006 14:12:52 +0000 (+0000) Subject: MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then X-Git-Tag: BEFORE_NEW_OUTPUT_API~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1226d311514c90f805c779da6fc3b8f1caa92cba;p=php MFB: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR --- diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 5a39fb7337..e6b9c502e6 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -171,7 +171,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch path += 11; max_memory = strtol(path, NULL, 10); if (max_memory < 0) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Max memory must be >= 0"); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Max memory must be >= 0"); return NULL; } }