summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2016-06-11 12:07:28 -0500
committerAaron Piotrowski <aaron@trowski.com>2016-06-13 09:02:17 -0500
commit771e5cc24716304dd2bf8cbd8aec11d465965d0a (patch)
treecf85742ca6a5810f284f62902f9dc7efc756a663 /ext/xmlrpc
parente3c681aa5cc71122a8d2fae42e6513fc413ccac8 (diff)
downloadphp-git-771e5cc24716304dd2bf8cbd8aec11d465965d0a.tar.gz
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/xmlrpc-epi-php.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c
index daec4c1155..465bf51938 100644
--- a/ext/xmlrpc/xmlrpc-epi-php.c
+++ b/ext/xmlrpc/xmlrpc-epi-php.c
@@ -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;
}