1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00

MFB: Convert E_ERROR to E_RECOVERABLE_ERROR

This commit is contained in:
Ilia Alshanetsky
2006-05-30 02:40:49 +00:00
parent b220c7779f
commit 7e2c124d14
+2 -2
View File
@@ -658,7 +658,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name
case IS_ARRAY:
ht = Z_ARRVAL_P(var);
if (ht->nApplyCount > 1) {
php_error_docref(NULL TSRMLS_CC, E_ERROR, "WDDX doesn't support circular references");
php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "WDDX doesn't support circular references");
return;
}
ht->nApplyCount++;
@@ -669,7 +669,7 @@ void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name
case IS_OBJECT:
ht = Z_OBJPROP_P(var);
if (ht->nApplyCount > 1) {
php_error_docref(NULL TSRMLS_CC, E_ERROR, "WDDX doesn't support circular references");
php_error_docref(NULL TSRMLS_CC, E_RECOVERABLE_ERROR, "WDDX doesn't support circular references");
return;
}
ht->nApplyCount++;