Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error

This commit is contained in:
Aaron Piotrowski 2016-06-11 12:07:28 -05:00
parent e3c681aa5c
commit 771e5cc247
30 changed files with 101 additions and 65 deletions

View file

@ -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;
}