Lines Matching refs:SOAP_GLOBAL
75 zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
76 char* _old_error_code = SOAP_GLOBAL(error_code);\
77 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
78 int _old_soap_version = SOAP_GLOBAL(soap_version);\
79 SOAP_GLOBAL(use_soap_error_handler) = 1;\
80 SOAP_GLOBAL(error_code) = "Server";\
81 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ(EX(This));
84 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
85 SOAP_GLOBAL(error_code) = _old_error_code;\
86 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
87 SOAP_GLOBAL(soap_version) = _old_soap_version;
90 zend_bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
91 char* _old_error_code = SOAP_GLOBAL(error_code);\
92 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
93 int _old_soap_version = SOAP_GLOBAL(soap_version);\
98 SOAP_GLOBAL(use_soap_error_handler) = 1;\
99 SOAP_GLOBAL(error_code) = "Client";\
100 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ(EX(This));\
123 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
124 SOAP_GLOBAL(error_code) = _old_error_code;\
125 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
126 SOAP_GLOBAL(soap_version) = _old_soap_version;\
594 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
595 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
596 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
597 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
598 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
599 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
610 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
611 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
612 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
613 ZVAL_OBJ(&SOAP_GLOBAL(error_object), NULL); in PHP_RINIT_FUNCTION()
614 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
615 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
616 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
617 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
618 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
619 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
1006 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), Z_LVAL_P(type))) { in PHP_METHOD()
1162 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1541 SOAP_GLOBAL(soap_version) = service->version;
1661 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1663 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1670 old_sdl = SOAP_GLOBAL(sdl);
1671 SOAP_GLOBAL(sdl) = service->sdl;
1672 old_encoding = SOAP_GLOBAL(encoding);
1673 SOAP_GLOBAL(encoding) = service->encoding;
1674 old_class_map = SOAP_GLOBAL(class_map);
1675 SOAP_GLOBAL(class_map) = service->class_map;
1676 old_typemap = SOAP_GLOBAL(typemap);
1677 SOAP_GLOBAL(typemap) = service->typemap;
1678 old_features = SOAP_GLOBAL(features);
1679 SOAP_GLOBAL(features) = service->features;
1680 old_soap_version = SOAP_GLOBAL(soap_version);
1970 SOAP_GLOBAL(soap_version) = old_soap_version;
1971 SOAP_GLOBAL(encoding) = old_encoding;
1972 SOAP_GLOBAL(sdl) = old_sdl;
1973 SOAP_GLOBAL(class_map) = old_class_map;
1974 SOAP_GLOBAL(typemap) = old_typemap;
1975 SOAP_GLOBAL(features) = old_features;
2023 old_encoding = SOAP_GLOBAL(encoding);
2024 SOAP_GLOBAL(encoding) = service->encoding;
2034 SOAP_GLOBAL(encoding) = old_encoding;
2081 soap_version = SOAP_GLOBAL(soap_version);
2143 …if (!PG(modules_activated) || !SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_bu…
2148 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
2149 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_class_entry)) {
2153 …if ((tmp = zend_hash_str_find(Z_OBJPROP(SOAP_GLOBAL(error_object)), "_exceptions", sizeof("_except…
2165 char* code = SOAP_GLOBAL(error_code);
2189 add_soap_fault_ex(&fault, &SOAP_GLOBAL(error_object), code, buffer, NULL, NULL);
2212 !SOAP_GLOBAL(error_code) ||
2213 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
2231 char* code = SOAP_GLOBAL(error_code);
2241 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
2242 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_server_class_entry) &&
2243 …(tmp = zend_hash_str_find(Z_OBJPROP(SOAP_GLOBAL(error_object)), "service", sizeof("service")-1)) !…
2301 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
2303 SOAP_GLOBAL(use_soap_error_handler) = handler;
2344 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2529 old_soap_version = SOAP_GLOBAL(soap_version);
2530 SOAP_GLOBAL(soap_version) = soap_version;
2537 SOAP_GLOBAL(soap_version) = old_soap_version;
2694 SOAP_GLOBAL(soap_version) = soap_version;
2695 old_sdl = SOAP_GLOBAL(sdl);
2696 SOAP_GLOBAL(sdl) = sdl;
2697 old_encoding = SOAP_GLOBAL(encoding);
2700 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_P(tmp));
2702 SOAP_GLOBAL(encoding) = NULL;
2704 old_class_map = SOAP_GLOBAL(class_map);
2707 SOAP_GLOBAL(class_map) = Z_ARRVAL_P(tmp);
2709 SOAP_GLOBAL(class_map) = NULL;
2711 old_typemap = SOAP_GLOBAL(typemap);
2712 SOAP_GLOBAL(typemap) = typemap;
2713 old_features = SOAP_GLOBAL(features);
2716 SOAP_GLOBAL(features) = Z_LVAL_P(tmp);
2718 SOAP_GLOBAL(features) = 0;
2832 if (SOAP_GLOBAL(encoding) != NULL) {
2833 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2836 SOAP_GLOBAL(features) = old_features;
2837 SOAP_GLOBAL(typemap) = old_typemap;
2838 SOAP_GLOBAL(class_map) = old_class_map;
2839 SOAP_GLOBAL(encoding) = old_encoding;
2840 SOAP_GLOBAL(sdl) = old_sdl;
3122 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
3298 int soap_version = SOAP_GLOBAL(soap_version);
3475 SOAP_GLOBAL(soap_version) = SOAP_1_1;
3480 SOAP_GLOBAL(soap_version) = SOAP_1_2;