php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55323
Patch php_encoding.c revision 2011-08-01 23:49 UTC by webm4st0r at gmail dot com
revision 2011-07-30 08:44 UTC by webm4st0r at gmail dot com

Patch php_encoding.c for SOAP related Bug #55323

Patch version 2011-07-30 08:44 UTC

Return to Bug #55323 | Download this patch
Patch Revisions: 2011-08-01 23:49 UTC | 2011-07-30 08:44 UTC

Developer: webm4st0r@gmail.com



  diff --git a/php_encoding.c b/php_encoding.c
 index 16981fa..6e9a403 100644
 index 16981fa..ae24540 100644
  --- a/php_encoding.c
  +++ b/php_encoding.c
  @@ -1513,6 +1513,13 @@ static zval *to_zval_object_ex(encodeTypePtr type, xmlNodePtr data, zend_class_e
                              sdlType->encode->details.sdl_type->kind != XSD_TYPEKIND_LIST &&


  +                FIND_XML_NULL(data, ret);
  +                if (soap_check_xml_ref(&ret, data TSRMLS_CC)) {
  +                    return ret;
  +                }
 +                zval_ptr_dtor(&ret);
 +                object_init_ex(ret, ce);
  +
                              if (ce != ZEND_STANDARD_CLASS_DEF_PTR &&
                                  sdlType->encode->to_zval == sdl_guess_convert_zval &&
                                  sdlType->encode->details.sdl_type != NULL &&
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Thu Apr 17 01:01:56 2014 UTC