1--TEST--
2Bug #61764: 'I' unpacks n as signed if n > 2^31-1 on LP64
3--SKIPIF--
4<?php
5if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
6--FILE--
7<?php
8//expected -30000 mod 2^32 = 4294937296, and not -30000
9//because we can represent 4294937296 with our PHP int type
10print_r(unpack('I', pack('L', -30000)));
11?>
12--EXPECT--
13Array
14(
15    [1] => 4294937296
16)
17