mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Add test case for bug #30726.
This commit is contained in:
parent
30445fb661
commit
5c98efddae
8
tests/lang/bug30726.phpt
Normal file
8
tests/lang/bug30726.phpt
Normal file
@ -0,0 +1,8 @@
|
||||
--TEST--
|
||||
Bug #30726 (-.1 like numbers are not being handled correctly)
|
||||
--FILE--
|
||||
<?php
|
||||
echo (int) is_float('-.1' * 2);
|
||||
?>
|
||||
--EXPECT--
|
||||
1
|
Loading…
Reference in New Issue
Block a user