Closed ZacharyDuBois closed 7 years ago
@ZacharyDuBois Generally bad keys from the return array are due to incomplete responses from the server. Does this issue happen all the time or just occasionally? Can you provide some example servers ip:port information so I can test? I would like to fix these kinds of issues if possible.
The only one I had was the one listed above. However, that server has been closed since then.
If you see it again please reopen this issue or create a new one and reference this issue.
When querying Arma 3, GameQ (
v3.0.10
via composer) sets invalid keys and UTF-8 characters causing PHP to handle the array improperly. Filtering the array and enforcingutf8_encode
does not work because the characters are invalid to begin with.I am not sure if it is an Arma 3 issue or GameQ. But, it shouldn't be returned in the array if the data is not valid to begin with. Ref: #377.
Output: