mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
E_ERROR > E_RECOVERABLE_ERROR
This commit is contained in:
parent
d90263437c
commit
278dc574f2
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
|
||||||
path += 11;
|
path += 11;
|
||||||
max_memory = strtol(path, NULL, 10);
|
max_memory = strtol(path, NULL, 10);
|
||||||
if (max_memory < 0) {
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue