Lines Matching refs:SOAP_GLOBAL

74 	bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
75 char* _old_error_code = SOAP_GLOBAL(error_code);\
76 zend_object* _old_error_object = Z_OBJ(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 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);
83 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
84 SOAP_GLOBAL(error_code) = _old_error_code;\
85 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
86 SOAP_GLOBAL(soap_version) = _old_soap_version;
89 bool _old_handler = SOAP_GLOBAL(use_soap_error_handler);\
90 char* _old_error_code = SOAP_GLOBAL(error_code);\
91 zend_object* _old_error_object = Z_OBJ(SOAP_GLOBAL(error_object));\
92 int _old_soap_version = SOAP_GLOBAL(soap_version);\
97 SOAP_GLOBAL(use_soap_error_handler) = 1;\
98 SOAP_GLOBAL(error_code) = "Client";\
99 Z_OBJ(SOAP_GLOBAL(error_object)) = Z_OBJ_P(ZEND_THIS);\
122 SOAP_GLOBAL(use_soap_error_handler) = _old_handler;\
123 SOAP_GLOBAL(error_code) = _old_error_code;\
124 Z_OBJ(SOAP_GLOBAL(error_object)) = _old_error_object;\
125 SOAP_GLOBAL(soap_version) = _old_soap_version;\
353 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
354 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
355 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
356 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
357 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
358 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
366 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
367 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
368 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
369 ZVAL_OBJ(&SOAP_GLOBAL(error_object), NULL); in PHP_RINIT_FUNCTION()
370 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
371 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
372 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
373 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
374 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
375 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
650 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), type)) { in PHP_METHOD()
799 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1175 SOAP_GLOBAL(soap_version) = service->version;
1292 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1294 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1301 old_sdl = SOAP_GLOBAL(sdl);
1302 SOAP_GLOBAL(sdl) = service->sdl;
1303 old_encoding = SOAP_GLOBAL(encoding);
1304 SOAP_GLOBAL(encoding) = service->encoding;
1305 old_class_map = SOAP_GLOBAL(class_map);
1306 SOAP_GLOBAL(class_map) = service->class_map;
1307 old_typemap = SOAP_GLOBAL(typemap);
1308 SOAP_GLOBAL(typemap) = service->typemap;
1309 old_features = SOAP_GLOBAL(features);
1310 SOAP_GLOBAL(features) = service->features;
1311 old_soap_version = SOAP_GLOBAL(soap_version);
1561 SOAP_GLOBAL(soap_version) = old_soap_version;
1562 SOAP_GLOBAL(encoding) = old_encoding;
1563 SOAP_GLOBAL(sdl) = old_sdl;
1564 SOAP_GLOBAL(class_map) = old_class_map;
1565 SOAP_GLOBAL(typemap) = old_typemap;
1566 SOAP_GLOBAL(features) = old_features;
1622 old_encoding = SOAP_GLOBAL(encoding);
1623 SOAP_GLOBAL(encoding) = service->encoding;
1627 SOAP_GLOBAL(encoding) = old_encoding;
1676 soap_version = SOAP_GLOBAL(soap_version);
1740 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
1741 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_class_entry)) {
1743 Z_TYPE_P(Z_CLIENT_EXCEPTIONS_P(&SOAP_GLOBAL(error_object))) != IS_FALSE;
1746 char *code = SOAP_GLOBAL(error_code);
1751 add_soap_fault_ex(&fault, &SOAP_GLOBAL(error_object), code, ZSTR_VAL(message), NULL, NULL);
1756 !SOAP_GLOBAL(error_code) ||
1757 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
1767 char *code = SOAP_GLOBAL(error_code);
1768 zval *error_object = &SOAP_GLOBAL(error_object);
1824 if (EXPECTED(!SOAP_GLOBAL(use_soap_error_handler))) {
1837 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
1839 SOAP_GLOBAL(use_soap_error_handler) = handler;
1879 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2064 old_soap_version = SOAP_GLOBAL(soap_version);
2065 SOAP_GLOBAL(soap_version) = soap_version;
2072 SOAP_GLOBAL(soap_version) = old_soap_version;
2214 SOAP_GLOBAL(soap_version) = soap_version;
2215 old_sdl = SOAP_GLOBAL(sdl);
2216 SOAP_GLOBAL(sdl) = sdl;
2217 old_encoding = SOAP_GLOBAL(encoding);
2220 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_P(tmp));
2222 SOAP_GLOBAL(encoding) = NULL;
2224 old_class_map = SOAP_GLOBAL(class_map);
2227 SOAP_GLOBAL(class_map) = Z_ARRVAL_P(tmp);
2229 SOAP_GLOBAL(class_map) = NULL;
2231 old_typemap = SOAP_GLOBAL(typemap);
2232 SOAP_GLOBAL(typemap) = typemap;
2233 old_features = SOAP_GLOBAL(features);
2236 SOAP_GLOBAL(features) = Z_LVAL_P(tmp);
2238 SOAP_GLOBAL(features) = 0;
2350 if (SOAP_GLOBAL(encoding) != NULL) {
2351 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2354 SOAP_GLOBAL(features) = old_features;
2355 SOAP_GLOBAL(typemap) = old_typemap;
2356 SOAP_GLOBAL(class_map) = old_class_map;
2357 SOAP_GLOBAL(encoding) = old_encoding;
2358 SOAP_GLOBAL(sdl) = old_sdl;
2628 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
2778 int soap_version = SOAP_GLOBAL(soap_version);
2946 SOAP_GLOBAL(soap_version) = SOAP_1_1;
2953 SOAP_GLOBAL(soap_version) = SOAP_1_2;