]> granicus.if.org Git - php/commitdiff
Change E_ERROR to E_RECOVERABLE_ERROR
authorIlia Alshanetsky <iliaa@php.net>
Fri, 23 Jun 2006 11:37:53 +0000 (11:37 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 23 Jun 2006 11:37:53 +0000 (11:37 +0000)
ext/standard/assert.c

index 86a5332d73a8a337103660a67e6587af14bd4cf8..7e9159a8b4b9703f64ba85c63ce8a505b3d2d931 100644 (file)
@@ -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);