summaryrefslogtreecommitdiff
path: root/ext/soap/php_xml.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-07-27 15:23:04 +0000
committerDmitry Stogov <dmitry@php.net>2006-07-27 15:23:04 +0000
commit1dcb726c5af1b1306cb7b86774fd2eb65257872c (patch)
tree995e4c3f0e5b6ddeef98c2073f47c3a41f09f57b /ext/soap/php_xml.c
parent83f54a259213ec2f6b52fcecb600d66fffdee236 (diff)
downloadphp-git-1dcb726c5af1b1306cb7b86774fd2eb65257872c.tar.gz
Removed deprecated #ifdef ZEND_ENGINE_2
Diffstat (limited to 'ext/soap/php_xml.c')
-rw-r--r--ext/soap/php_xml.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/ext/soap/php_xml.c b/ext/soap/php_xml.c
index 67dd130467..403ebf0a94 100644
--- a/ext/soap/php_xml.c
+++ b/ext/soap/php_xml.c
@@ -166,32 +166,6 @@ xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size)
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", 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)
{
if (node->ns) {