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;\
592 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
593 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
594 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
595 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
596 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
597 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
605 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
606 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
607 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
608 SOAP_GLOBAL(error_object) = NULL; in PHP_RINIT_FUNCTION()
609 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
610 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
611 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
612 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
613 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
614 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
987 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), Z_LVAL_P(type))) { in PHP_METHOD()
1157 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1536 SOAP_GLOBAL(soap_version) = service->version;
1652 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1654 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1661 old_sdl = SOAP_GLOBAL(sdl);
1662 SOAP_GLOBAL(sdl) = service->sdl;
1663 old_encoding = SOAP_GLOBAL(encoding);
1664 SOAP_GLOBAL(encoding) = service->encoding;
1665 old_class_map = SOAP_GLOBAL(class_map);
1666 SOAP_GLOBAL(class_map) = service->class_map;
1667 old_typemap = SOAP_GLOBAL(typemap);
1668 SOAP_GLOBAL(typemap) = service->typemap;
1669 old_features = SOAP_GLOBAL(features);
1670 SOAP_GLOBAL(features) = service->features;
1671 old_soap_version = SOAP_GLOBAL(soap_version);
1983 SOAP_GLOBAL(soap_version) = old_soap_version;
1984 SOAP_GLOBAL(encoding) = old_encoding;
1985 SOAP_GLOBAL(sdl) = old_sdl;
1986 SOAP_GLOBAL(class_map) = old_class_map;
1987 SOAP_GLOBAL(typemap) = old_typemap;
1988 SOAP_GLOBAL(features) = old_features;
2036 old_encoding = SOAP_GLOBAL(encoding);
2037 SOAP_GLOBAL(encoding) = service->encoding;
2047 SOAP_GLOBAL(encoding) = old_encoding;
2094 soap_version = SOAP_GLOBAL(soap_version);
2159 …if (!PG(modules_activated) || !SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_bu…
2164 if (SOAP_GLOBAL(error_object) &&
2165 Z_TYPE_P(SOAP_GLOBAL(error_object)) == IS_OBJECT &&
2166 instanceof_function(Z_OBJCE_P(SOAP_GLOBAL(error_object)), soap_class_entry TSRMLS_CC)) {
2170 …if (zend_hash_find(Z_OBJPROP_P(SOAP_GLOBAL(error_object)), "_exceptions", sizeof("_exceptions"), (…
2182 char* code = SOAP_GLOBAL(error_code);
2209 fault = add_soap_fault(SOAP_GLOBAL(error_object), code, buffer, NULL, NULL TSRMLS_CC);
2234 !SOAP_GLOBAL(error_code) ||
2235 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
2253 char* code = SOAP_GLOBAL(error_code);
2262 if (SOAP_GLOBAL(error_object) &&
2263 Z_TYPE_P(SOAP_GLOBAL(error_object)) == IS_OBJECT &&
2264 … instanceof_function(Z_OBJCE_P(SOAP_GLOBAL(error_object)), soap_server_class_entry TSRMLS_CC) &&
2265 …zend_hash_find(Z_OBJPROP_P(SOAP_GLOBAL(error_object)), "service", sizeof("service"), (void **)&tmp…
2327 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
2329 SOAP_GLOBAL(use_soap_error_handler) = handler;
2369 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2550 old_soap_version = SOAP_GLOBAL(soap_version);
2551 SOAP_GLOBAL(soap_version) = soap_version;
2558 SOAP_GLOBAL(soap_version) = old_soap_version;
2700 SOAP_GLOBAL(soap_version) = soap_version;
2701 old_sdl = SOAP_GLOBAL(sdl);
2702 SOAP_GLOBAL(sdl) = sdl;
2703 old_encoding = SOAP_GLOBAL(encoding);
2706 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_PP(tmp));
2708 SOAP_GLOBAL(encoding) = NULL;
2710 old_class_map = SOAP_GLOBAL(class_map);
2713 SOAP_GLOBAL(class_map) = (*tmp)->value.ht;
2715 SOAP_GLOBAL(class_map) = NULL;
2717 old_typemap = SOAP_GLOBAL(typemap);
2718 SOAP_GLOBAL(typemap) = typemap;
2719 old_features = SOAP_GLOBAL(features);
2722 SOAP_GLOBAL(features) = Z_LVAL_PP(tmp);
2724 SOAP_GLOBAL(features) = 0;
2842 if (SOAP_GLOBAL(encoding) != NULL) {
2843 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2846 SOAP_GLOBAL(features) = old_features;
2847 SOAP_GLOBAL(typemap) = old_typemap;
2848 SOAP_GLOBAL(class_map) = old_class_map;
2849 SOAP_GLOBAL(encoding) = old_encoding;
2850 SOAP_GLOBAL(sdl) = old_sdl;
3138 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
3310 int soap_version = SOAP_GLOBAL(soap_version);
3495 SOAP_GLOBAL(soap_version) = SOAP_1_1;
3500 SOAP_GLOBAL(soap_version) = SOAP_1_2;