blob: 991cf5e891274f1922d5ac4560ff27214664dedc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Zend signed multiply 32-bit
--SKIPIF--
<?php if ((1 << 31) > 0) print "skip Running on 64-bit target"; ?>
--FILE--
<?php
var_dump(0x8000 * -0xffff);
var_dump(0x8001 * 0xfffe);
var_dump(0x8001 * -0xffff);
?>
--EXPECT--
int(-2147450880)
int(2147483646)
float(-2147516415)
|