when docking Wechat"s open platform
to decrypt Wechat"s push message
used the official decryption file and method
php code as shown in figure
msgTicket
What
does not understand is that the object obtained by
using simplexml_load_string is also empty, which I can understand, because msg is an empty string
but why can I get this ticket after using DOMDocument loadXML?
the decrypted msg is obviously empty
Why is there such a big difference between using simplexml_load_string and DOMDocment
Please give us some advice