Lines Matching refs:SOAP_GLOBAL
74 zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
75 char* _old_error_code = SOAP_GLOBAL(error_code);\
76 zval* _old_error_object = SOAP_GLOBAL(error_object);\
77 int _old_soap_version = SOAP_GLOBAL(soap_version);\
78 SOAP_GLOBAL(use_soap_error_handler) = 1;\
79 SOAP_GLOBAL(error_code) = "Server";\
80 SOAP_GLOBAL(error_object) = this_ptr;
83 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
84 SOAP_GLOBAL(error_code) = _old_error_code;\
85 SOAP_GLOBAL(error_object) = _old_error_object;\
86 SOAP_GLOBAL(soap_version) = _old_soap_version;
89 zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
90 char* _old_error_code = SOAP_GLOBAL(error_code);\
91 zval* _old_error_object = SOAP_GLOBAL(error_object);\
92 int _old_soap_version = SOAP_GLOBAL(soap_version);\
98 SOAP_GLOBAL(use_soap_error_handler) = 1;\
99 SOAP_GLOBAL(error_code) = "Client";\
100 SOAP_GLOBAL(error_object) = this_ptr;\
124 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
125 SOAP_GLOBAL(error_code) = _old_error_code;\
126 SOAP_GLOBAL(error_object) = _old_error_object;\
127 SOAP_GLOBAL(soap_version) = _old_soap_version;\
590 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
591 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
592 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
593 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
594 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
595 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
603 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
604 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
605 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
606 SOAP_GLOBAL(error_object) = NULL; in PHP_RINIT_FUNCTION()
607 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
608 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
609 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
610 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
611 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
612 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
958 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), Z_LVAL_P(type))) { in PHP_METHOD()
1128 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1507 SOAP_GLOBAL(soap_version) = service->version;
1626 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1628 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1635 old_sdl = SOAP_GLOBAL(sdl);
1636 SOAP_GLOBAL(sdl) = service->sdl;
1637 old_encoding = SOAP_GLOBAL(encoding);
1638 SOAP_GLOBAL(encoding) = service->encoding;
1639 old_class_map = SOAP_GLOBAL(class_map);
1640 SOAP_GLOBAL(class_map) = service->class_map;
1641 old_typemap = SOAP_GLOBAL(typemap);
1642 SOAP_GLOBAL(typemap) = service->typemap;
1643 old_features = SOAP_GLOBAL(features);
1644 SOAP_GLOBAL(features) = service->features;
1645 old_soap_version = SOAP_GLOBAL(soap_version);
1957 SOAP_GLOBAL(soap_version) = old_soap_version;
1958 SOAP_GLOBAL(encoding) = old_encoding;
1959 SOAP_GLOBAL(sdl) = old_sdl;
1960 SOAP_GLOBAL(class_map) = old_class_map;
1961 SOAP_GLOBAL(typemap) = old_typemap;
1962 SOAP_GLOBAL(features) = old_features;
2010 old_encoding = SOAP_GLOBAL(encoding);
2011 SOAP_GLOBAL(encoding) = service->encoding;
2021 SOAP_GLOBAL(encoding) = old_encoding;
2068 soap_version = SOAP_GLOBAL(soap_version);
2134 if (!SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_buckets) {
2139 if (SOAP_GLOBAL(error_object) &&
2140 Z_TYPE_P(SOAP_GLOBAL(error_object)) == IS_OBJECT &&
2141 instanceof_function(Z_OBJCE_P(SOAP_GLOBAL(error_object)), soap_class_entry TSRMLS_CC)) {
2145 …if (zend_hash_find(Z_OBJPROP_P(SOAP_GLOBAL(error_object)), "_exceptions", sizeof("_exceptions"), (…
2157 char* code = SOAP_GLOBAL(error_code);
2184 fault = add_soap_fault(SOAP_GLOBAL(error_object), code, buffer, NULL, NULL TSRMLS_CC);
2209 !SOAP_GLOBAL(error_code) ||
2210 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
2228 char* code = SOAP_GLOBAL(error_code);
2237 if (SOAP_GLOBAL(error_object) &&
2238 Z_TYPE_P(SOAP_GLOBAL(error_object)) == IS_OBJECT &&
2239 … instanceof_function(Z_OBJCE_P(SOAP_GLOBAL(error_object)), soap_server_class_entry TSRMLS_CC) &&
2240 …zend_hash_find(Z_OBJPROP_P(SOAP_GLOBAL(error_object)), "service", sizeof("service"), (void **)&tmp…
2302 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
2304 SOAP_GLOBAL(use_soap_error_handler) = handler;
2344 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2520 old_soap_version = SOAP_GLOBAL(soap_version);
2521 SOAP_GLOBAL(soap_version) = soap_version;
2528 SOAP_GLOBAL(soap_version) = old_soap_version;
2670 SOAP_GLOBAL(soap_version) = soap_version;
2671 old_sdl = SOAP_GLOBAL(sdl);
2672 SOAP_GLOBAL(sdl) = sdl;
2673 old_encoding = SOAP_GLOBAL(encoding);
2676 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_PP(tmp));
2678 SOAP_GLOBAL(encoding) = NULL;
2680 old_class_map = SOAP_GLOBAL(class_map);
2683 SOAP_GLOBAL(class_map) = (*tmp)->value.ht;
2685 SOAP_GLOBAL(class_map) = NULL;
2687 old_typemap = SOAP_GLOBAL(typemap);
2688 SOAP_GLOBAL(typemap) = typemap;
2689 old_features = SOAP_GLOBAL(features);
2692 SOAP_GLOBAL(features) = Z_LVAL_PP(tmp);
2694 SOAP_GLOBAL(features) = 0;
2807 if (SOAP_GLOBAL(encoding) != NULL) {
2808 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2810 SOAP_GLOBAL(features) = old_features;
2811 SOAP_GLOBAL(typemap) = old_typemap;
2812 SOAP_GLOBAL(class_map) = old_class_map;
2813 SOAP_GLOBAL(encoding) = old_encoding;
2814 SOAP_GLOBAL(sdl) = old_sdl;
3099 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
3271 int soap_version = SOAP_GLOBAL(soap_version);
3456 SOAP_GLOBAL(soap_version) = SOAP_1_1;
3461 SOAP_GLOBAL(soap_version) = SOAP_1_2;