(Etienne Kneuss)
- Added "compact" handler for Zend MM storage. (Dmitry)
- Added '+' and '*' specifiers to zend_parse_parameters(). (Andrei)
+- Added 'ignore_errors' option to http fopen wrapper. (David Zulke, Sara)
- Upgraded PCRE to version 7.4 (Nuno)
response_code = 0;
}
/* when we request only the header, don't fail even on error codes */
- if (options & STREAM_ONLY_GET_HEADERS) {
+ if ((options & STREAM_ONLY_GET_HEADERS) ||
+ (php_stream_context_get_option(context, "http", "ignore_errors", &tmpzval) == SUCCESS && zend_is_true(*tmpzval)) ) {
reqok = 1;
}
switch(response_code) {