diff options
| author | Dmitry Stogov <dmitry@php.net> | 2004-02-12 10:39:20 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2004-02-12 10:39:20 +0000 |
| commit | 07e3413e99b89e35417a1cf7d6aacb5a009dd7d7 (patch) | |
| tree | d57720a7fa2f40592d4d7ecc89ccc7fdc1d3dad7 | |
| parent | 61a049ba3bc072b2379276b1ac09c596f9f7a3b9 (diff) | |
| download | php-git-07e3413e99b89e35417a1cf7d6aacb5a009dd7d7.tar.gz | |
Using zend_throw_exception_object() instead of EG(exception).
| -rw-r--r-- | ext/soap/soap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 84cf34700a..f63a14584b 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -1601,7 +1601,7 @@ static void soap_error_handler(int error_num, const char *error_filename, const *exception = *fault; zval_copy_ctor(exception); INIT_PZVAL(exception); - EG(exception) = exception; + zend_throw_exception_object(exception TSRMLS_CC); zend_bailout(); } else { old_error_handler(error_num, error_filename, error_lineno, format, args); @@ -1916,7 +1916,7 @@ static void do_soap_call(zval* this_ptr, *exception = *return_value; zval_copy_ctor(exception); INIT_PZVAL(exception); - EG(exception) = exception; + zend_throw_exception_object(exception TSRMLS_CC); } #endif SOAP_GLOBAL(sdl) = old_sdl; |
