-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bugs on 64-bit machines #1
base: master
Are you sure you want to change the base?
Conversation
ahh one more thing. This was not tested on a 32-bit machine. Only 64-bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed #1
This is probably still buggy. Try encoding Fails both on a 64-bit Linux and modern Win64 build of PHP 7.x for me, but I've chosen to live with it for now, as I'm only using this to encode < 32-bit numbers. |
Add support for str8/bin8/16/32 types.
Hello!
Thanks for posting this code!
We found a bug on 64-bit machines, where
int16
andint32
types were being decoded incorrectly. The bug fix is this commit:client9@0cb38ce
The other commits do the following:
thanks again!
n