summaryrefslogtreecommitdiff
path: root/tests/lang/bug30726.phpt
blob: 79aeff7d265c659c3732bfb71e6ec1cc27fdffb7 (plain)
1
2
3
4
5
6
7
8
--TEST--
Bug #30726 (-.1 like numbers are not being handled correctly)
--FILE--
<?php
echo (int) is_float('-.1' * 2), "\n";
?>
--EXPECT--
1