From: Jani Taskinen Date: Thu, 20 Aug 2009 12:19:49 +0000 (+0000) Subject: - Merge missing commit by Ilia from PHP_5_3: Make filters without a resource throw... X-Git-Tag: php-5.4.0alpha1~191^2~2775 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd9a1fa1b38d8d13b71efea89298f4daac07b948;p=php - Merge missing commit by Ilia from PHP_5_3: 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 89ec493b4e..87bc989b16 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -269,7 +269,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch pathdup = estrndup(path + 6, strlen(path + 6)); p = strstr(pathdup, "/resource="); if (!p) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "No URL resource specified"); + php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "No URL resource specified"); efree(pathdup); return NULL; }