I just got PHP VC11 x64 Thread Safe installed in Windows 8 64bit. I am trying to run random number by calling mt_rand(). As far as I know, mt_rand() use 32-bit MT algorithm and it should support [0, 4294967295]. But if I run mt_getrandmax(), it returns me 2147483647. So I think the number it return should be signed 32-bit integer.
I am trying to call mt_rand(-2147483648, mt_getrandmax()) 10 times, but most of the outcomes are zero. So I wonder if MT algorithm in this case doesn't return full 32-bit integers.