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;\
328 zend_hash_destroy(&SOAP_GLOBAL(defEnc)); in PHP_MSHUTDOWN_FUNCTION()
329 zend_hash_destroy(&SOAP_GLOBAL(defEncIndex)); in PHP_MSHUTDOWN_FUNCTION()
330 zend_hash_destroy(&SOAP_GLOBAL(defEncNs)); in PHP_MSHUTDOWN_FUNCTION()
331 if (SOAP_GLOBAL(mem_cache)) { in PHP_MSHUTDOWN_FUNCTION()
332 zend_hash_destroy(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
333 free(SOAP_GLOBAL(mem_cache)); in PHP_MSHUTDOWN_FUNCTION()
341 SOAP_GLOBAL(typemap) = NULL; in PHP_RINIT_FUNCTION()
342 SOAP_GLOBAL(use_soap_error_handler) = 0; in PHP_RINIT_FUNCTION()
343 SOAP_GLOBAL(error_code) = NULL; in PHP_RINIT_FUNCTION()
344 ZVAL_OBJ(&SOAP_GLOBAL(error_object), NULL); in PHP_RINIT_FUNCTION()
345 SOAP_GLOBAL(sdl) = NULL; in PHP_RINIT_FUNCTION()
346 SOAP_GLOBAL(soap_version) = SOAP_1_1; in PHP_RINIT_FUNCTION()
347 SOAP_GLOBAL(encoding) = NULL; in PHP_RINIT_FUNCTION()
348 SOAP_GLOBAL(class_map) = NULL; in PHP_RINIT_FUNCTION()
349 SOAP_GLOBAL(features) = 0; in PHP_RINIT_FUNCTION()
350 SOAP_GLOBAL(ref_map) = NULL; in PHP_RINIT_FUNCTION()
700 if (zend_hash_index_exists(&SOAP_GLOBAL(defEncIndex), type)) { in PHP_METHOD()
848 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0; in PHP_METHOD()
1220 SOAP_GLOBAL(soap_version) = service->version;
1333 SOAP_GLOBAL(soap_version) = SOAP_1_1;
1335 SOAP_GLOBAL(soap_version) = SOAP_1_2;
1342 old_sdl = SOAP_GLOBAL(sdl);
1343 SOAP_GLOBAL(sdl) = service->sdl;
1344 old_encoding = SOAP_GLOBAL(encoding);
1345 SOAP_GLOBAL(encoding) = service->encoding;
1346 old_class_map = SOAP_GLOBAL(class_map);
1347 SOAP_GLOBAL(class_map) = service->class_map;
1348 old_typemap = SOAP_GLOBAL(typemap);
1349 SOAP_GLOBAL(typemap) = service->typemap;
1350 old_features = SOAP_GLOBAL(features);
1351 SOAP_GLOBAL(features) = service->features;
1352 old_soap_version = SOAP_GLOBAL(soap_version);
1608 SOAP_GLOBAL(soap_version) = old_soap_version;
1609 SOAP_GLOBAL(encoding) = old_encoding;
1610 SOAP_GLOBAL(sdl) = old_sdl;
1611 SOAP_GLOBAL(class_map) = old_class_map;
1612 SOAP_GLOBAL(typemap) = old_typemap;
1613 SOAP_GLOBAL(features) = old_features;
1669 old_encoding = SOAP_GLOBAL(encoding);
1670 SOAP_GLOBAL(encoding) = service->encoding;
1674 SOAP_GLOBAL(encoding) = old_encoding;
1722 soap_version = SOAP_GLOBAL(soap_version);
1786 if (Z_OBJ(SOAP_GLOBAL(error_object)) &&
1787 instanceof_function(Z_OBJCE(SOAP_GLOBAL(error_object)), soap_class_entry)) {
1789 Z_TYPE_P(Z_CLIENT_EXCEPTIONS_P(&SOAP_GLOBAL(error_object))) != IS_FALSE;
1792 char *code = SOAP_GLOBAL(error_code);
1797 add_soap_fault_ex(&fault, &SOAP_GLOBAL(error_object), code, ZSTR_VAL(message), NULL, NULL);
1802 !SOAP_GLOBAL(error_code) ||
1803 strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) {
1813 char *code = SOAP_GLOBAL(error_code);
1814 zval *error_object = &SOAP_GLOBAL(error_object);
1870 if (EXPECTED(!SOAP_GLOBAL(use_soap_error_handler))) {
1883 ZVAL_BOOL(return_value, SOAP_GLOBAL(use_soap_error_handler));
1885 SOAP_GLOBAL(use_soap_error_handler) = handler;
1925 cache_wsdl = SOAP_GLOBAL(cache_enabled) ? SOAP_GLOBAL(cache_mode) : 0;
2110 old_soap_version = SOAP_GLOBAL(soap_version);
2111 SOAP_GLOBAL(soap_version) = soap_version;
2118 SOAP_GLOBAL(soap_version) = old_soap_version;
2260 SOAP_GLOBAL(soap_version) = soap_version;
2261 old_sdl = SOAP_GLOBAL(sdl);
2262 SOAP_GLOBAL(sdl) = sdl;
2263 old_encoding = SOAP_GLOBAL(encoding);
2266 SOAP_GLOBAL(encoding) = xmlFindCharEncodingHandler(Z_STRVAL_P(tmp));
2268 SOAP_GLOBAL(encoding) = NULL;
2270 old_class_map = SOAP_GLOBAL(class_map);
2273 SOAP_GLOBAL(class_map) = Z_ARRVAL_P(tmp);
2275 SOAP_GLOBAL(class_map) = NULL;
2277 old_typemap = SOAP_GLOBAL(typemap);
2278 SOAP_GLOBAL(typemap) = typemap;
2279 old_features = SOAP_GLOBAL(features);
2282 SOAP_GLOBAL(features) = Z_LVAL_P(tmp);
2284 SOAP_GLOBAL(features) = 0;
2396 if (SOAP_GLOBAL(encoding) != NULL) {
2397 xmlCharEncCloseFunc(SOAP_GLOBAL(encoding));
2400 SOAP_GLOBAL(features) = old_features;
2401 SOAP_GLOBAL(typemap) = old_typemap;
2402 SOAP_GLOBAL(class_map) = old_class_map;
2403 SOAP_GLOBAL(encoding) = old_encoding;
2404 SOAP_GLOBAL(sdl) = old_sdl;
2674 if (SOAP_GLOBAL(features) & SOAP_WAIT_ONE_WAY_CALLS) {
2824 int soap_version = SOAP_GLOBAL(soap_version);
2992 SOAP_GLOBAL(soap_version) = SOAP_1_1;
2999 SOAP_GLOBAL(soap_version) = SOAP_1_2;