more small changes

This commit is contained in:
GameHerobrine 2023-01-04 22:45:31 +03:00
parent ac552afedc
commit 3f40c4f9be
3 changed files with 9 additions and 4 deletions

View file

@ -638,6 +638,7 @@ class Utils{
}
public static function readInt($str){
if(strlen($str) <= 0) return;
if(PHP_INT_SIZE === 8){
return @unpack("N", $str)[1] << 32 >> 32;
}else{