php-src/tests/lang/bug30726.phpt

9 lines
140 B
Plaintext
Raw Normal View History

2005-01-18 09:56:31 +00:00
--TEST--
Bug #30726 (-.1 like numbers are not being handled correctly)
--FILE--
<?php
2005-01-18 11:53:49 +00:00
echo (int) is_float('-.1' * 2), "\n";
2005-01-18 09:56:31 +00:00
?>
--EXPECT--
1