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:
+2
-2
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user