mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
Added test for bug #71201
This commit is contained in:
parent
0d822f6df9
commit
50c4be0309
10
ext/standard/tests/math/round_bug71201.phpt
Normal file
10
ext/standard/tests/math/round_bug71201.phpt
Normal file
@ -0,0 +1,10 @@
|
||||
--TEST--
|
||||
Bug #71201 round() segfault on 64-bit builds
|
||||
--FILE--
|
||||
<?php
|
||||
echo round(1.0, -2147483648), "\n";
|
||||
?>
|
||||
===DONE===
|
||||
--EXPECT--
|
||||
0
|
||||
===DONE===
|
Loading…
Reference in New Issue
Block a user