You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On PHP 8.0 I get a depreciation notice as follows:
<b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/public/src/GameQ/Protocols/Arma3.php</b> on line <b>156</b><br />
This is referenced in the php manual here for the hexdec() function in php 7.4 and up `
Version
Description
7.4.0
Passing invalid characters will now generate a deprecation notice. The result will still be computed as if the invalid characters did not exist.
`
A dirty workaround is to put the following line near the top of the file:
error_reporting(E_ALL ^ E_DEPRECATED);
Not sure the correct workaround to fix this for all versions of php as the manual does not say much
The text was updated successfully, but these errors were encountered:
Can you provide a working example of when this notice is thrown? It appears is the the code deciphering the steam_id server info property. Has this value changed?
Afaik it wont work due to the reason in the liked issue (if you are on PHP >=7.4) and there will be issues with DLC since the hashes do change on update and they are outdated here (this was an issue for my ArmA3 server some months ago).
On PHP 8.0 I get a depreciation notice as follows:
<b>Deprecated</b>: Invalid characters passed for attempted conversion, these have been ignored in <b>/var/www/public/src/GameQ/Protocols/Arma3.php</b> on line <b>156</b><br />
This is referenced in the php manual here for the hexdec() function in php 7.4 and up `
A dirty workaround is to put the following line near the top of the file:
error_reporting(E_ALL ^ E_DEPRECATED);
Not sure the correct workaround to fix this for all versions of php as the manual does not say much
The text was updated successfully, but these errors were encountered: