diff options
author | Aaron Piotrowski <aaron@trowski.com> | 2016-06-11 12:07:28 -0500 |
---|---|---|
committer | Aaron Piotrowski <aaron@trowski.com> | 2016-06-13 09:02:17 -0500 |
commit | 771e5cc24716304dd2bf8cbd8aec11d465965d0a (patch) | |
tree | cf85742ca6a5810f284f62902f9dc7efc756a663 /ext/xmlrpc/xmlrpc-epi-php.c | |
parent | e3c681aa5cc71122a8d2fae42e6513fc413ccac8 (diff) | |
download | php-git-771e5cc24716304dd2bf8cbd8aec11d465965d0a.tar.gz |
Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error
Diffstat (limited to 'ext/xmlrpc/xmlrpc-epi-php.c')
-rw-r--r-- | ext/xmlrpc/xmlrpc-epi-php.c | 3 |
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; } |