Skip to content

Commit

Permalink
Add test case for bug #30726.
Browse files Browse the repository at this point in the history
  • Loading branch information
maatta committed Jan 18, 2005
1 parent 30445fb commit 5c98efd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/lang/bug30726.phpt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5c98efd

Please sign in to comment.