forked from halo-battle/game
Fix for PHP 7.2 compatibility
This commit is contained in:
parent
162dd444bd
commit
2be9fcd5c3
12 changed files with 21 additions and 15 deletions
|
|
@ -6,7 +6,7 @@ function hexstr($var)
|
|||
|
||||
function strhex($var)
|
||||
{
|
||||
return array_shift(unpack('H*',$var));
|
||||
return @array_shift(unpack('H*',$var));
|
||||
}
|
||||
|
||||
function bitstr($var)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue