©
本文档使用 PHP中文网手册 发布
[#1] Anonymous [2011-11-15 17:38:47]
Be careful with GMP - it considers leading zeros in a number string as meaning the number is in octal, whereas 'bc' doesn't:
gmp_strval("000100", 10) => 64
bcmul("000100", "1") => 100