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
Try use this function echo NumberHumanizer::metricSuffix(1240);
but always return "-0P"
Problem with big number, two array keys on \Coduo\PHPHumanizer\String\MetricSuffix $binaryPrefixes have wrong values when use print_r for this class: Array ( [-1530494976] => #.##P [-727379968] => #.##T [1000000000] => #.##G [1000000] => #.##M [1000] => #.#k [0] => #.# )
how I can resolve this? sorry for my english =)
The text was updated successfully, but these errors were encountered:
Users with 32bit system can't work with integer over 2147483647, this is 4 bytes. For check system may execute var_dump(PHP_INT_MAX); for get max value or var_dump(PHP_INT_SIZE); for get bytes. 4 is 32 bit, 8 is 64 bits. (for PHP over 5.0.5)
Think need some code fix.
Try use this function
echo NumberHumanizer::metricSuffix(1240);
but always return "-0P"
Problem with big number, two array keys on \Coduo\PHPHumanizer\String\MetricSuffix $binaryPrefixes have wrong values when use print_r for this class:
Array ( [-1530494976] => #.##P [-727379968] => #.##T [1000000000] => #.##G [1000000] => #.##M [1000] => #.#k [0] => #.# )
how I can resolve this? sorry for my english =)
The text was updated successfully, but these errors were encountered: