iliaa Fri Jun 23 11:40:14 2006 UTC
Modified files:
/php-src/ext/standard assert.c
Log:
MFB: Change E_ERROR to E_RECOVERABLE_ERROR
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/assert.c?r1=1.64&r2=1.65&diff_format=u
Index: php-src/ext/standard/assert.c
diff -u php-src/ext/standard/assert.c:1.64 php-src/ext/standard/assert.c:1.65
--- php-src/ext/standard/assert.c:1.64 Sun Jan 1 13:09:54 2006
+++ php-src/ext/standard/assert.c Fri Jun 23 11:40:14 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: assert.c,v 1.64 2006/01/01 13:09:54 sniper Exp $ */
+/* $Id: assert.c,v 1.65 2006/06/23 11:40:14 iliaa Exp $ */
/* {{{ includes/startup/misc */
@@ -161,7 +161,7 @@
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) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php