char *name;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
char *name, *ns_uri;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &ns_uri, &ns_uri_len) == FAILURE) {
char *name;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
char *name, *ns_uri;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &name, &name_len, &ns_uri, &ns_uri_len) == FAILURE) {
char *name = NULL;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &name, &name_len) == FAILURE) {
xmlTextReaderPtr reader = NULL;
UConverter *orig_runtime_conv;
- orig_runtime_conv = ZEND_U_CONVERTER(UG(runtime_encoding_conv));
+ orig_runtime_conv = UG(runtime_encoding_conv);
UG(runtime_encoding_conv) = UG(utf8_conv);
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "t|s!l", &source, &source_len, &source_type, &encoding, &encoding_len, &options) == FAILURE) {