Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spyc.php fails to account for negative PHP_INT_MAX
While detecting the int type, spyc properly checks if the numerical value exceeds PHP_INT_MAX. However, it fails to account for the negative limit, so numbers less than (for example) the 64-bit limit of `-9223372036854775808` get clobbered into the limit.
- Loading branch information