summaryrefslogtreecommitdiff
path: root/Zend/tests/zend_signed_multiply-64bit.phpt
blob: d392b2e78a95a65fef17314595a0b7394720c88c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Zend signed multiply 64-bit, variation 1
--SKIPIF--
<?php if ((1 << 31) < 0) print "skip Running on 32-bit target"; ?>
--FILE--
<?php
var_dump(0x80000000 * -0xffffffff);
var_dump(0x80000001 * 0xfffffffe);
var_dump(0x80000001 * -0xffffffff);
?>
--EXPECTF--
int(-9223372034707292160)
int(9223372036854775806)
float(-9.2233720390023E+18)