/hphp/test/zend/good/ext/standard/tests/strings/bug61764.php
http://github.com/facebook/hiphop-php · PHP · 6 lines · 4 code · 0 blank · 2 comment · 0 complexity · d42fb14364ac5e9f324a3aae02ca3b31 MD5 · raw file
- <?hh
- //expected -30000 mod 2^32 = 4294937296, and not -30000
- //because we can represent 4294937296 with our PHP int type
- <<__EntryPoint>> function main(): void {
- print_r(unpack('I', pack('L', -30000)));
- }