dousu1900 2013-11-10 13:48
浏览 37
已采纳

PHP x64但是max_int不比x32大

been fighting with this problem for a couple of days now, and cant figure it out on my own.

Tried lots of things but none seem to work..

I'm making an mmo and im using bigint's for values as money, now the problem is my php wont recognize integers larger than the PHP_max_int allows obviously, but since im running on x64 it should be a lot bigger than 2147483647, atleast thats what im told

i've got a screenie of the top part of my phpinfo. have a look: https://dl.dropboxusercontent.com/u/51136819/phpmaxint.png

any help is appreciated.

If you need more information about the problem, just ask. Thanks in advance!

  • 写回答

1条回答 默认 最新

  • duannao1920 2013-11-10 14:00
    关注

    From http://windows.php.net

    x86_64 Builds

    The x64 builds of PHP for Windows should be considered experimental, and do not yet provide 64-bit integer or large file support. Please see this post for work ongoing to improve these builds.

    See http://marc.info/?l=php-internals&m=137002754604365&w=2

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?