mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
This commit is contained in:
parent
e3c681aa5c
commit
771e5cc247
30 changed files with 101 additions and 65 deletions
|
@ -66,7 +66,6 @@
|
|||
#endif
|
||||
|
||||
#include "php.h"
|
||||
#include "zend_exceptions.h"
|
||||
#include "ext/standard/info.h"
|
||||
#include "ext/standard/php_string.h"
|
||||
#include "ext/date/php_date.h"
|
||||
|
@ -558,7 +557,7 @@ static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int dep
|
|||
|
||||
ht = HASH_OF(&val);
|
||||
if (ht && ht->u.v.nApplyCount > 1) {
|
||||
zend_throw_error(zend_ce_error, "XML-RPC doesn't support circular references");
|
||||
zend_throw_error(NULL, "XML-RPC doesn't support circular references");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue