…coding-deprecated-in-php-5.6 #6218 - applying hotfix for `iconv.internal_encoding` deprecation
Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::addComplexType() stores already added classes under the methods argument `$type`. Therefore a class with preceding backslash is treated like another complextype than the same class without given backslash. As a result the xsd:ComplexType definition is found twice (with exactly the same name) in the generated wsdl.
See https://wiki.php.net/rfc/default_encoding > PHP 5.6 and master, introduce new php.ini setting. Old iconv.*/mbstring.* php.ini parameters will be removed for master PHP6. Use of iconv.*/mbstring.* php.ini parameters raise E_DEPRECATED for 5.6 and up.
…ZendTest\MessageTest use statement
…abled. - Improved the fix a bit: Instead of forcing entity loading to "false", the previous setting is saved and restored. - Adjusted the unittest accordingly.
disabled. - The original libxml_disable_entity_loader() setting was not restored when an exception was raised in Server::_setRequest(). - Fixed by moving the libxml_disable_entity_loader(false) call a bit further up. - Added unittest for the intended behaviour.