报错:php XML hexadecimal value 0x11 is an invalid character...
原因:字符串中可能混杂其他编码字符,
报错:simplexml_load_string(): Entity: line 1: parser error : switching encoding: encoder error
解决方法:mb_convert_encoding(trim($getSoap), 'GB2312');
转载于:https://blog.51cto.com/liuqh/1742958