version 1.1, 2012/02/21 23:48:01
|
version 1.1.1.2, 2012/05/29 12:34:42
|
Line 169 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t
|
Line 169 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t
|
return ret; |
return ret; |
} |
} |
|
|
#ifndef ZEND_ENGINE_2 |
|
int php_stream_xmlIO_match_wrapper(const char *filename) |
|
{ |
|
TSRMLS_FETCH(); |
|
return php_stream_locate_url_wrapper(filename, NULL, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC) ? 1 : 0; |
|
} |
|
|
|
void *php_stream_xmlIO_open_wrapper(const char *filename) |
|
{ |
|
TSRMLS_FETCH(); |
|
return php_stream_open_wrapper((char*)filename, "rb", ENFORCE_SAFE_MODE|REPORT_ERRORS, NULL); |
|
} |
|
|
|
int php_stream_xmlIO_read(void *context, char *buffer, int len) |
|
{ |
|
TSRMLS_FETCH(); |
|
return php_stream_read((php_stream*)context, buffer, len); |
|
} |
|
|
|
int php_stream_xmlIO_close(void *context) |
|
{ |
|
TSRMLS_FETCH(); |
|
return php_stream_close((php_stream*)context); |
|
} |
|
#endif |
|
|
|
xmlNsPtr attr_find_ns(xmlAttrPtr node) |
xmlNsPtr attr_find_ns(xmlAttrPtr node) |
{ |
{ |
if (node->ns) { |
if (node->ns) { |