mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-08 01:37:30 +00:00
MFB: Change E_ERROR to E_RECOVERABLE_ERROR
This commit is contained in:
1 parent
d9de0eac85
commit
a2b61371cd
1 file changed
+1
-1
@@ -161,7 +161,7 @@ PHP_FUNCTION(assert)
|
||||
compiled_string_description = zend_make_compiled_string_description("assert code" TSRMLS_CC);
|
||||
if (zend_eval_string(myeval, &retval, compiled_string_description TSRMLS_CC) == FAILURE) {
|
||||
efree(compiled_string_description);
|
||||
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Failure evaluating code: %s%s", PHP_EOL, myeval);
|
||||
php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "Failure evaluating code: %s%s", PHP_EOL, myeval);
|
||||
/* php_error_docref() does not return in this case. */
|
||||
}
|
||||
if (free_tmp) {
|
||||
|
||||
Reference in new issue
Block a user