Add test case for bug #30726.

This commit is contained in:
Magnus M��tt� 2005-01-18 09:56:31 +00:00
parent 30445fb661
commit 5c98efddae

8
tests/lang/bug30726.phpt Normal file
View 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