mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
15 lines
279 B
PHP
15 lines
279 B
PHP
--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)
|