summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-06-23 11:37:53 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-06-23 11:37:53 +0000
commitf1d09682fb6df3463ea10bf13c6bfd9ee33dcd5f (patch)
tree05555c736e6cd6792c4559ac2a3e6cd936821bc9 /ext
parent1fdd8d7b2ae4bd464c759036be6199d9baf4cbc9 (diff)
downloadphp-git-f1d09682fb6df3463ea10bf13c6bfd9ee33dcd5f.tar.gz
Change E_ERROR to E_RECOVERABLE_ERROR
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/assert.c b/ext/standard/assert.c
index 86a5332d73..7e9159a8b4 100644
--- a/ext/standard/assert.c
+++ b/ext/standard/assert.c
@@ -151,7 +151,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. */
}
efree(compiled_string_description);