summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2003-01-10 17:39:10 +0000
committerAndrey Hristov <andrey@php.net>2003-01-10 17:39:10 +0000
commit53656f196b2d53c01f2775e20dfc2f4eec810e30 (patch)
treea3329abf656c05960641f83809b791eda4b115e0
parentefaa31e940b35b1344c8f7fca4ce1f220e2ff57b (diff)
downloadphp-git-53656f196b2d53c01f2775e20dfc2f4eec810e30.tar.gz
skipping unneeded copy
-rw-r--r--ext/soap/soap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index c67171c5a9..30cf757c67 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -378,10 +378,14 @@ PHP_FUNCTION(soap_encode_to_xml)
php_error(E_ERROR, "wrong number of parameters to soap_encode_to_xml");
enc = get_conversion(Z_TYPE_P(pzval));
+ return_value = php_domobject_new(seralize_zval(pzval, NULL, name, SOAP_ENCODED), &found, NULL TSRMLS_CC);
+
+/*
ret = php_domobject_new(seralize_zval(pzval, NULL, name, SOAP_ENCODED), &found, NULL TSRMLS_CC);
*return_value = *ret;
zval_copy_ctor(return_value);
zval_ptr_dtor(&ret);
+*/
}
PHP_FUNCTION(soap_encode_to_zval)